Teach the kernel config to also swing both ways
This commit is contained in:
parent
239d88cee2
commit
0fd5ede9f6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user