summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-02 13:50:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-02 13:50:49 +0100
commit1a0bc22e751dc1a91073e47b61a4135cec549633 (patch)
tree71d279d06dc068cc77cd360d45fd3599b962e3a0 /mk/build.mk
parent93f115b74d90ab06c101d37225fb6125d5dc33de (diff)
parent0ccba89e05c01ce234adc7242ad7342d23b4f9df (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 0569a4570..49b832f72 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -303,6 +303,8 @@ ifneq (,$(filter CYGWIN%,${OStype}))
@echo ADK_HOST_CYGWIN=y > $(TOPDIR)/.defconfig
endif
ifeq ($(ADKtype),ibm-x40)
+ @echo ADK_ARCH_CHOICE=y >> $(TOPDIR)/.defconfig
+ @echo ADK_LINUX_NATIVE=y >> $(TOPDIR)/.defconfig
@echo ADK_HARDWARE_IBM_X40=y >> $(TOPDIR)/.defconfig
endif
ifeq ($(ADKtype),lemote-yeelong)
@@ -313,6 +315,9 @@ endif
|grep -i "$(TARGET)"\$$ \
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(TOPDIR)/.defconfig; \
+ if [ "$(TARGET)" = "native" ];then \
+ echo "ADK_ARCH_CHOICE=y" >> $(TOPDIR)/.defconfig; \
+ fi; \
fi
@for symbol in ${DEFCONFIG}; do \
echo $$symbol >> $(TOPDIR)/.defconfig; \