From: Masahiro Yamada Date: Wed, 11 Oct 2017 03:52:29 +0000 (+0900) Subject: kbuild: add forward declaration of default target to Makefile.asm-generic X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a7d34df3d12c34304638bbe7375d91c63717c453;p=openwrt%2Fstaging%2Fblogic.git kbuild: add forward declaration of default target to Makefile.asm-generic $(kbuild-file) and Kbuild.include are included before the default target "all". We will add a target into Kbuild.include. In advance, add a forward declaration of the default target. Signed-off-by: Masahiro Yamada Reviewed-by: Douglas Anderson --- diff --git a/scripts/Makefile.asm-generic b/scripts/Makefile.asm-generic index a6c8c1780855..9563215a23c6 100644 --- a/scripts/Makefile.asm-generic +++ b/scripts/Makefile.asm-generic @@ -5,6 +5,9 @@ # and for each file listed in this file with generic-y creates # a small wrapper file in $(obj) (arch/$(SRCARCH)/include/generated/$(src)) +PHONY := all +all: + kbuild-file := $(srctree)/arch/$(SRCARCH)/include/$(src)/Kbuild -include $(kbuild-file)