1 # SPDX-License-Identifier: GPL-2.0 2 # 3 # Makefile for s390 specific build tools 4 # 5 6 kapi := arch/$(ARCH)/include/generated/asm 7 kapi-hdrs-y := $(kapi)/facility-defs.h $(kapi) 8 9 PHONY += kapi 10 11 kapi: $(kapi-hdrs-y) 12 13 hostprogs += gen_facilities 14 hostprogs += gen_opcode_tabl 15 16 HOSTCFLAGS_gen_facilities.o += $(LINUXINCLUDE) 17 18 filechk_facility-defs.h = $(obj)/gen_facilitie 19 20 filechk_dis-defs.h = \ 21 $(obj)/gen_opcode_table < $(srctree)/a 22 23 $(kapi)/facility-defs.h: $(obj)/gen_facilities 24 $(call filechk,facility-defs.h) 25 26 $(kapi)/dis-defs.h: $(obj)/gen_opcode_table FO 27 $(call filechk,dis-defs.h) 28 29 hostprogs += relocs 30 PHONY += relocs 31 relocs: $(obj)/relocs 32 @:
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.