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