pmaports/device/testing/linux-samsung-j5y17lte/allow-building-without-make-mrproper.patch
Andras Sebok 0bc724b8ba
samsung-j5y17lte: new device (MR 4797)
[ci:skip-build]: Already built successfully in CI.
2024-02-11 19:15:00 +01:00

23 lines
750 B
Diff

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