xref: /kernel/linux/linux-5.10/arch/s390/tools/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/s390/tools/
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Makefile for s390 specific build tools
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cikapi := arch/$(ARCH)/include/generated/asm
78c2ecf20Sopenharmony_cikapi-hdrs-y := $(kapi)/facility-defs.h $(kapi)/dis-defs.h
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciPHONY += kapi
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_cikapi:	$(kapi-hdrs-y)
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_cihostprogs		    += gen_facilities
148c2ecf20Sopenharmony_cihostprogs		    += gen_opcode_table
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciHOSTCFLAGS_gen_facilities.o += $(LINUXINCLUDE)
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_cifilechk_facility-defs.h = $(obj)/gen_facilities
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_cifilechk_dis-defs.h = \
218c2ecf20Sopenharmony_ci	$(obj)/gen_opcode_table < $(srctree)/arch/$(ARCH)/tools/opcodes.txt
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci$(kapi)/facility-defs.h: $(obj)/gen_facilities FORCE
248c2ecf20Sopenharmony_ci	$(call filechk,facility-defs.h)
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci$(kapi)/dis-defs.h: $(obj)/gen_opcode_table FORCE
278c2ecf20Sopenharmony_ci	$(call filechk,dis-defs.h)
28

Indexes created Thu Nov 07 10:32:03 CST 2024