Browse Source

while here, add all other popular BSD's too

Waldemar Brodkorb 15 years ago
parent
commit
6a352a5e5d
2 changed files with 27 additions and 0 deletions
  1. 12 0
      Config.in
  2. 15 0
      mk/build.mk

+ 12 - 0
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

+ 15 - 0
mk/build.mk

@@ -233,6 +233,12 @@ ifeq (${OStype},FreeBSD)
 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 \
@@ -262,6 +268,15 @@ ifeq (${OStype},Linux)
 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 \