diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-09-16 03:52:40 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-09-16 03:52:40 +0200 |
commit | ed7c0c316f29cade934c3d90e1e257675cb0fa4a (patch) | |
tree | ba8cdce0e4499d29d93f2fdf4f190f8d44a7bd20 /target/Makefile | |
parent | f83548e0f3b68a10f5396e952d0e35afb799ddf3 (diff) |
add support for sharp zaurus (tested on terrier cl-3200)
Diffstat (limited to 'target/Makefile')
-rw-r--r-- | target/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/target/Makefile b/target/Makefile index 7ca524c89..470e9e4e9 100644 --- a/target/Makefile +++ b/target/Makefile @@ -53,7 +53,11 @@ ifeq ($(ADK_NATIVE),y) 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 else - @cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig.board + if [ -f ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ];then \ + cp ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ${BUILD_DIR}/.kernelconfig.board; \ + else \ + cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig.board; \ + fi endif @(cat ${BUILD_DIR}/.kernelconfig.{modules,kernel} | \ while IFS='=' read symbol value; do \ @@ -85,7 +89,11 @@ endif @-rm -f ${BUILD_DIR}/.kernelconfig.tmp else config-prepare: $(TOPDIR)/.config - @cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig + if [ -f ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ];then \ + cp ${ADK_TARGET_ARCH}/kernel.config.$(ADK_TARGET_SYSTEM) ${BUILD_DIR}/.kernelconfig.board; \ + else \ + cp ${ADK_TARGET_ARCH}/kernel.config ${BUILD_DIR}/.kernelconfig.board; \ + fi endif prepare: $(ADK_TARGET_ARCH)-prepare |