1# 2# Makefile for s390 specific build tools 3# 4 5hostprogs-y += gen_facilities 6hostprogs-y += gen_opcode_table 7 8HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE) 9HOSTCFLAGS_gen_opcode_table.o += -Wall $(LINUXINCLUDE) 10 11define filechk_facilities.h 12 $(obj)/gen_facilities 13endef 14 15define filechk_dis.h 16 ( $(obj)/gen_opcode_table < $(srctree)/arch/$(ARCH)/tools/opcodes.txt ) 17endef 18 19include/generated/facilities.h: $(obj)/gen_facilities FORCE 20 $(call filechk,facilities.h) 21 22include/generated/dis.h: $(obj)/gen_opcode_table FORCE 23 $(call filechk,dis.h,__FUN) 24