summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-13 18:12:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-13 18:12:22 +0200
commita41d0c2ba0deabbaa9f6ade63f0dc0bf4cddc24c (patch)
tree1d4db7deb2afdf0bbcaebf3389c5d3e1932e4a0d /mk/build.mk
parent8edb1cd5a6a03b391003a1047e0b3ca6d22acd45 (diff)
parentd2f556494390602b912fac06169ea6ef7552ef2e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk18
1 files changed, 12 insertions, 6 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 8a0e310f1..0d807076a 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -272,6 +272,9 @@ endif
ifeq (${OStype},NetBSD)
@echo ADK_HOST_NETBSD=y > $(TOPDIR)/.defconfig
endif
+ifeq (${OStype},Darwin)
+ @echo ADK_HOST_DARWIN=y > $(TOPDIR)/.defconfig
+endif
ifneq (,$(filter CYGWIN%,${OStype}))
@echo ADK_HOST_CYGWIN=y > $(TOPDIR)/.defconfig
endif
@@ -280,10 +283,10 @@ endif
|grep -i "$(TARGET)"\$$ \
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(TOPDIR)/.defconfig; \
- for symbol in ${DEFCONFIG}; do \
- echo $$symbol >> $(TOPDIR)/.defconfig; \
- done; \
fi
+ @for symbol in ${DEFCONFIG}; do \
+ echo $$symbol >> $(TOPDIR)/.defconfig; \
+ done
@if [ ! -z "$(FS)" ];then \
grep "^config" target/Config.in \
|grep -i "$(FS)" \
@@ -340,6 +343,9 @@ endif
ifeq (${OStype},NetBSD)
@echo ADK_HOST_NETBSD=y > $(TOPDIR)/all.config
endif
+ifeq (${OStype},Darwin)
+ @echo ADK_HOST_DARWIN=y > $(TOPDIR)/all.config
+endif
ifneq (,$(filter CYGWIN%,${OStype}))
@echo ADK_HOST_CYGWIN=y > $(TOPDIR)/all.config
endif
@@ -348,10 +354,10 @@ endif
|grep -i "$(TARGET)"\$$ \
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(TOPDIR)/all.config; \
- for symbol in ${DEFCONFIG}; do \
- echo $$symbol >> $(TOPDIR)/all.config; \
- done; \
fi
+ @for symbol in ${DEFCONFIG}; do \
+ echo $$symbol >> $(TOPDIR)/all.config; \
+ done
@if [ ! -z "$(FS)" ];then \
grep "^config" target/Config.in \
|grep -i "$(FS)" \