summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Config.in12
-rw-r--r--mk/build.mk15
2 files changed, 27 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 3f107feaf..8970fc779 100644
--- a/Config.in
+++ b/Config.in
@@ -101,6 +101,18 @@ config ADK_HOST_FREEBSD
prompt "FreeBSD"
boolean
+config ADK_HOST_MIRBSD
+ prompt "MirBSD"
+ boolean
+
+config ADK_HOST_OPENBSD
+ prompt "OpenBSD"
+ boolean
+
+config ADK_HOST_NETBSD
+ prompt "OpenBSD"
+ boolean
+
endchoice
endmenu
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)" \