From 5dbcba4b7121bf7796b28ef25a2f15da3028d84b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 25 Nov 2010 20:38:02 +0100 Subject: fix for native builds --- target/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target/Makefile') 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 -- cgit v1.2.3