summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-11 12:52:29 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-13 22:54:17 +0900
commita7d34df3d12c34304638bbe7375d91c63717c453 (patch)
treeb5b8e4e49840cf543698dd51cebf5d0313159fef /scripts
parent4e13d47c5806bafb5e524b08a9d759b606b1851c (diff)
downloadop-kernel-dev-a7d34df3d12c34304638bbe7375d91c63717c453.zip
op-kernel-dev-a7d34df3d12c34304638bbe7375d91c63717c453.tar.gz
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 <yamada.masahiro@socionext.com> Reviewed-by: Douglas Anderson <dianders@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.asm-generic3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Makefile.asm-generic b/scripts/Makefile.asm-generic
index a6c8c17..9563215 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)
OpenPOWER on IntegriCloud