summaryrefslogtreecommitdiff
path: root/target/device/jp
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/jp')
-rw-r--r--target/device/jp/Makefile.in2
-rw-r--r--target/device/jp/q5/linux.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/device/jp/Makefile.in b/target/device/jp/Makefile.in
index acb173d1a..3490b244f 100644
--- a/target/device/jp/Makefile.in
+++ b/target/device/jp/Makefile.in
@@ -1,5 +1,5 @@
# Override the default uClibc configuration
-ifeq ($(strip $(BR2_TARGET_Q5)),y)
+ifeq ($(BR2_TARGET_Q5),y)
include target/device/jp/q5/Makefile.in
include target/device/jp/q5/linux.mk
diff --git a/target/device/jp/q5/linux.mk b/target/device/jp/q5/linux.mk
index 0658596b0..a086028ca 100644
--- a/target/device/jp/q5/linux.mk
+++ b/target/device/jp/q5/linux.mk
@@ -84,7 +84,7 @@ $(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)
+ifeq ($(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