summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/Makefile b/target/Makefile
index 82484ad98..63c3e58cc 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -41,7 +41,7 @@ config-prepare: $(TOPDIR)/.config
>${BUILD_DIR}/.kernelconfig.nokernel
# if native build, first try /proc/config.gz
ifeq ($(ADK_NATIVE),y)
- @if [ -f /proc/config.gz ];then zcat /proc/config.gz > ${BUILD_DIR}/.kernelconfig.board; else cp ${DEVICE}/kernel.config.$(CPU_ARCH) ${BUILD_DIR}/.kernelconfig.board; fi
+ @if [ -f /proc/config.gz ];then zcat /proc/config.gz > ${BUILD_DIR}/.kernelconfig.board; else cp ${DEVICE}/kernel.config.$(ARCH) ${BUILD_DIR}/.kernelconfig.board; fi
else
@cp ${DEVICE}/kernel.config ${BUILD_DIR}/.kernelconfig.board
endif