summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-30 03:21:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-30 03:21:25 +0100
commit178690383a5c6567a3031f87569425654b57064f (patch)
treeff2c87161ad923f4021dfc855a4aaf17d84ce840 /mk
parentc7677a9c8b6f4aa0733006f4cf0e20a2b9bef2df (diff)
enable hardware profile on native configurations
Diffstat (limited to '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; \