fa292406df
Store the full kernel config instead of a fragment, so "pmbootstrap kconfig check" can properly verify that all required kernel options are there. Without this, it would fail an upcoming check for BINFMT_ELF and BINFMT_SCRIPT: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/38508 With the full config, pmbootstrap found that ANDROID_PARANOID_NETWORK was enabled while it should be disabled, so disable it. Fix the mediatek drvgen related build failure with 00_disable_drvgen.patch from linux-wiko-ufeel and including cust.dtsi: https://wiki.postmarketos.org/wiki/Porting_to_a_new_device#Removing_python2_dependency [ci:skip-build]: already built successfully in CI
37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
diff --git a/Makefile b/Makefile
|
|
index 1ad63f5..af7a7c0 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1494,13 +1494,13 @@ image_name:
|
|
@echo $(KBUILD_IMAGE)
|
|
|
|
# Clear a bunch of variables before executing the submake
|
|
-tools/: FORCE
|
|
- $(Q)mkdir -p $(objtree)/tools
|
|
- $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/
|
|
+#tools/: FORCE
|
|
+# $(Q)mkdir -p $(objtree)/tools
|
|
+# $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/
|
|
|
|
-tools/%: FORCE
|
|
- $(Q)mkdir -p $(objtree)/tools
|
|
- $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/ $*
|
|
+#tools/%: FORCE
|
|
+# $(Q)mkdir -p $(objtree)/tools
|
|
+# $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/ $*
|
|
|
|
# Single targets
|
|
# ---------------------------------------------------------------------------
|
|
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
|
|
index 2fe43be..845dcd1 100644
|
|
--- a/arch/arm/Makefile
|
|
+++ b/arch/arm/Makefile
|
|
@@ -300,7 +300,7 @@ MTK_PROJECT := $(CONFIG_ARCH_MTK_PROJECT:"%"=%)
|
|
export MTK_PLATFORM MTK_PROJECT MTK_TARGET_PROJECT
|
|
KBUILD_CPPFLAGS += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include
|
|
KBUILD_CPPFLAGS += -I$(srctree)/arch/arm/mach-mediatek/include/
|
|
--include $(srctree)/scripts/drvgen/drvgen.mk
|
|
+#-include $(srctree)/scripts/drvgen/drvgen.mk
|
|
archprepare: $(DRVGEN_FILE_LIST)
|
|
dtbs: $(DRVGEN_FILE_LIST)
|
|
|