mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
Teach the kernel config to also swing both ways
This commit is contained in:
@@ -83,6 +83,9 @@ $(LINUX_DIR)/.configured $(BUILD_DIR)/linux/.configured: $(LINUX_DIR)/.unpacked
|
||||
$(SED) "s,^ARCH.*,ARCH=$(LINUX_KARCH),g;" $(LINUX_DIR)/Makefile
|
||||
$(SED) "s,^CROSS_COMPILE.*,CROSS_COMPILE=$(KERNEL_CROSS),g;" $(LINUX_DIR)/Makefile
|
||||
-cp $(LINUX_KCONFIG) $(LINUX_DIR)/.config
|
||||
ifeq ($(strip $(BR2_mips)),y)
|
||||
$(SED) 's/CONFIG_CPU_LITTLE_ENDIAN=y/# CONFIG_CPU_LITTLE_ENDIAN is not set\n# CONFIG_BINFMT_IRIX is not set' $(LINUX_DIR)/.config
|
||||
endif
|
||||
$(MAKE) PATH=$(TARGET_PATH) -C $(LINUX_DIR) oldconfig include/linux/version.h
|
||||
touch $(LINUX_DIR)/.configured
|
||||
|
||||
|
||||
Reference in New Issue
Block a user