pmaports/device/testing/linux-samsung-j5y17lte/allow-building-without-make-mrproper.patch

24 lines
750 B
Diff
Raw Normal View History

diff --git a/Makefile b/Makefile
index 8186b0839..d5adb8bf0 100755
--- a/Makefile
+++ b/Makefile
@@ -1033,14 +1033,7 @@ PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3
# and if so do:
# 1) Check that make has not been executed in the kernel src $(srctree)
prepare3: include/config/kernel.release
-ifneq ($(KBUILD_SRC),)
- @$(kecho) ' Using $(srctree) as source for kernel'
- $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
- echo >&2 " $(srctree) is not clean, please run 'make mrproper'"; \
- echo >&2 " in the '$(srctree)' directory.";\
- /bin/false; \
- fi;
-endif
+
# prepare2 creates a makefile if using a separate output directory
prepare2: prepare3 outputmakefile asm-generic
--
2.43.0