linux: linux.mk: _defconfig not required for arm64 instead use defconfig
PATCH 1/1 linux: linux.mk: _defconfig not required for arm64 instead use defconfig
From: Naresh Kamboju <[email protected]>
Linux arch/arm64 contains configs/defconfig not the <board>_defconfig
--- linux/linux.mk | 4 ++++ 1 file changed, 4 insertions(+)
linux/linux.mk +4 -0
@@ -198,7 +198,11 @@ endef LINUX_POST_PATCH_HOOKS += LINUX_TRY_PATCH_TIMECONST ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) +ifeq ($(KERNEL_ARCH),arm64) +LINUX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG)) +else LINUX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig +endif else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) LINUX_KCONFIG_FILE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)) endif
Signature · 1 line
2.8.1
PATCH 1/1 linux: linux.mk: _defconfig not required for arm64 instead use defconfig
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"naresh" == naresh kamboju <[email protected]> writes:
From: Naresh Kamboju <[email protected]>
Linuxarch/arm64contains configs/defconfig not the <board>_defconfig
But is that likely to stay like that, even for various vendor trees?
I've recently merged the defconfig for odroidc2, and that one use
BR2_LINUX_KERNEL_DEFCONFIG="odroidc2"
With a vendor kernel based on 3.14:
https://github.com/hardkernel/linux/tree/odroidc2-3.14.y/arch/arm64/configs
Perhaps we should instead interpret BR2_LINUX_KERNEL_DEFCONFIG="" as defconfig and not _defconfig (and then drop the check around line 423).
Quoted 28 lines
Signed-off-by Naresh Kamboju <[email protected]>--- linux/linux.mk | 4 ++++ 1 file changed, 4 insertions(+)linux/linux.mk +4
-0@@ -198,7 +198,11 @@ endef LINUX_POST_PATCH_HOOKS += LINUX_TRY_PATCH_TIMECONST ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) +ifeq ($(KERNEL_ARCH),arm64) +LINUX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG)) +else LINUX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig +endif else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) LINUX_KCONFIG_FILE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)) endifSignature · 6 lines
2.8.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 1 line
Bye, Peter Korsgaard