summaryrefslogtreecommitdiffstats
path: root/arch/s390/tools/Makefile
blob: 6d9814c9df2bc250f464de38436966a5908f624e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# Makefile for s390 specific build tools
#

hostprogs-y		    += gen_facilities
HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE)

define filechk_facilities.h
	$(obj)/gen_facilities
endef

$(obj)/gen_facilities.o: $(srctree)/arch/s390/tools/gen_facilities.c

include/generated/facilities.h: $(obj)/gen_facilities FORCE
	$(call filechk,facilities.h)