]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/s390/tools/Makefile
Merge tag 'xfs-4.15-fixes-10' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[mirror_ubuntu-bionic-kernel.git] / arch / s390 / tools / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
c30f6828
HC
2#
3# Makefile for s390 specific build tools
4#
5
6hostprogs-y += gen_facilities
8bc1e4ec
HC
7hostprogs-y += gen_opcode_table
8
c30f6828 9HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE)
8bc1e4ec 10HOSTCFLAGS_gen_opcode_table.o += -Wall $(LINUXINCLUDE)
c30f6828
HC
11
12define filechk_facilities.h
13 $(obj)/gen_facilities
14endef
15
8bc1e4ec
HC
16define filechk_dis.h
17 ( $(obj)/gen_opcode_table < $(srctree)/arch/$(ARCH)/tools/opcodes.txt )
18endef
19
c30f6828
HC
20include/generated/facilities.h: $(obj)/gen_facilities FORCE
21 $(call filechk,facilities.h)
8bc1e4ec
HC
22
23include/generated/dis.h: $(obj)/gen_opcode_table FORCE
ab35727e 24 $(call filechk,dis.h)