summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/build.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)" \