diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2016-01-05 17:36:31 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2016-01-05 17:36:31 +0530 |
commit | 642b4bd628e92106237f6a2acdd1b4a4440ac546 (patch) | |
tree | ad65a2ea5b575bf542150e130a68dc7ee1c3d4cb | |
parent | 6a4d208486697124da21a0073c13394a80f87d1d (diff) | |
download | linux-linaro-tracking-642b4bd628e92106237f6a2acdd1b4a4440ac546.tar.gz |
kbuild: Makefile.clean: make Kbuild and Makefile optionaltracking-linaro-android-llct-llct-20160105.0
AOSP commit b13ce9f4aa6f "ARM64: add option to build
Image.gz/dtb combo" broke archclean / mrproper build
targets and we run into:
----------
./scripts/Makefile.clean:14: arch/arm64/boot/amd/Makefile: No such file or directory
make[2]: *** No rule to make target `arch/arm64/boot/amd/Makefile'. Stop.
make[1]: *** [arch/arm64/boot/amd] Error 2
make: *** [archclean] Error 2
----------
This patch skip the missing Kbuild/Makefile reporting
error. It does the job (i.e cleanup dts/*/*.dtb and
do not spit out missing file error messages as well).
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | scripts/Makefile.clean | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 55c96cb8070f..a3245aea56e1 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean @@ -11,7 +11,7 @@ include scripts/Kbuild.include # The filename Kbuild has precedence over Makefile kbuild-dir := $(if $(filter /%,$(src)),$(src),$(srctree)/$(src)) -include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile) +-include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-dir)/Makefile) # Figure out what we need to build from the various variables # ========================================================================== |