From 37829565dce0182bc0a8f13fd3412a4723f6d73b Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Sun, 23 Aug 2009 14:18:57 +0200
Subject: revert renaming of /init into /start

- fix foxboard build, tested on classic
- remove unsed ibm-x40 target
- update all targets to linux-2.6.30.5
- fix native build, use kernel.config.$(CPU_ARCH) as kernel
  configuration, when /proc/config.gz does not exist on host
---
 target/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'target/Makefile')

diff --git a/target/Makefile b/target/Makefile
index 73887ca5c..82484ad98 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 ${BUILD_DIR}/.kernelconfig.board; fi
+	@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
 else
 	@cp ${DEVICE}/kernel.config ${BUILD_DIR}/.kernelconfig.board
 endif
-- 
cgit v1.2.3