![Masahiro Yamada](/assets/img/avatar_default.png)
The dependency between the object and the source is handled by scripts/Makefile.host, so only "hostprogs-y += gen_facilities" is fine. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
14 lines
283 B
Makefile
14 lines
283 B
Makefile
#
|
|
# Makefile for s390 specific build tools
|
|
#
|
|
|
|
hostprogs-y += gen_facilities
|
|
HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE)
|
|
|
|
define filechk_facilities.h
|
|
$(obj)/gen_facilities
|
|
endef
|
|
|
|
include/generated/facilities.h: $(obj)/gen_facilities FORCE
|
|
$(call filechk,facilities.h)
|