diff options
Diffstat (limited to 'target/Makefile')
-rw-r--r-- | target/Makefile | 3 |
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 |