summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-25 20:38:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-25 20:39:35 +0100
commit5dbcba4b7121bf7796b28ef25a2f15da3028d84b (patch)
treebcb13a4563f96f44cdf236ae50896f26d80fbc05 /target/Makefile
parent9a77177f6ddf4b451876c3696b64d3659b427049 (diff)
fix for native builds
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/Makefile b/target/Makefile
index 2c1f7b686..65c59b144 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -41,8 +41,7 @@ config-prepare: $(TOPDIR)/.config
>${BUILD_DIR}/.kernelconfig.nokernel
ifeq ($(ADK_NATIVE),y)
@if [ -f /etc/adktarget ];then \
- target=$$(cat /etc/adktarget); \
- cp $(TOPDIR)/target/$$target/kernel.config ${BUILD_DIR}/.kernelconfig.board; \
+ cp $(TOPDIR)/target/$(ARCH)/kernel.config ${BUILD_DIR}/.kernelconfig.board; \
else \
if [ -f /proc/config.gz ];then zcat /proc/config.gz > ${BUILD_DIR}/.kernelconfig.board; else cp ${ADK_TARGET}/kernel.config.$(ARCH) ${BUILD_DIR}/.kernelconfig.board; fi; \
fi