summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-15 20:39:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-15 20:39:46 +0100
commit4fc73402ed1cec95693ee5e8549cef6c3079717f (patch)
tree19491d81e8f6757eb61dedece58446aac295b0a6
parent0221529e47401282409d4d97b533818241da8fca (diff)
fix native build on x86
-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