summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-18 19:40:00 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-18 19:40:00 +0100
commit6a352a5e5d4502b4cbb1ecb1b2c635d87538404c (patch)
treef465a0325a8856e709312ddb5cb53bdd5da38514 /mk
parentd8884cc6aa8ac14ea8c0275202b0f4c4025a7aca (diff)
while here, add all other popular BSD's too
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index eadf61d65..9f35a3827 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -234,6 +234,12 @@ endif
ifeq (${OStype},MirBSD)
@echo ADK_HOST_MIRBSD=y > $(TOPDIR)/.defconfig
endif
+ifeq (${OStype},OpenBSD)
+ @echo ADK_HOST_OPENBSD=y > $(TOPDIR)/.defconfig
+endif
+ifeq (${OStype},NetBSD)
+ @echo ADK_HOST_NETBSD=y > $(TOPDIR)/.defconfig
+endif
@if [ ! -z "$(TARGET)" ];then \
grep "^config" target/Config.in \
|grep -i "$(TARGET)" \
@@ -263,6 +269,15 @@ endif
ifeq (${OStype},FreeBSD)
@echo ADK_HOST_FREEBSD=y > $(TOPDIR)/all.config
endif
+ifeq (${OStype},MirBSD)
+ @echo ADK_HOST_MIRBSD=y > $(TOPDIR)/all.config
+endif
+ifeq (${OStype},OpenBSD)
+ @echo ADK_HOST_OPENBSD=y > $(TOPDIR)/all.config
+endif
+ifeq (${OStype},NetBSD)
+ @echo ADK_HOST_NETBSD=y > $(TOPDIR)/all.config
+endif
@if [ ! -z "$(TARGET)" ];then \
grep "^config" target/Config.in \
|grep -i "$(TARGET)" \