diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-19 18:33:32 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-12-19 18:33:32 +0100 |
commit | 98e07066854de558bb5651b7305d2da527048d0b (patch) | |
tree | 38a598508fbf7d525de0c8ab7454081042af347c /mk/build.mk | |
parent | 25631be7315cdddc0cf2ea273f3e06332128d36d (diff) | |
parent | 0102d12701a8634300c4b174e5bbeb898218ba18 (diff) |
Merge branch 'master' of openadk.org:/git/openadk
Diffstat (limited to 'mk/build.mk')
-rw-r--r-- | mk/build.mk | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/mk/build.mk b/mk/build.mk index 5f7399174..145856d6d 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -231,6 +231,15 @@ endif ifeq (${OStype},FreeBSD) @echo ADK_HOST_FREEBSD=y > $(TOPDIR)/.defconfig 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)" \ @@ -240,10 +249,10 @@ endif echo $$symbol >> $(TOPDIR)/.defconfig; \ done; \ fi -ifneq (,$(filter %_qemu,${TARGET})) +ifneq (,$(filter qemu%,${TARGET})) @echo ADK_LINUX_QEMU=y >> $(TOPDIR)/.defconfig endif -ifneq (,$(filter %_rescue,${TARGET})) +ifneq (,$(filter rescue%,${TARGET})) @echo ADK_LINUX_RESCUE=y >> $(TOPDIR)/.defconfig endif ifneq (,$(filter rb%,${TARGET})) @@ -260,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)" \ @@ -298,7 +316,7 @@ ifneq (,$(filter rb%,${TARGET})) endif menuconfig: $(CONFIG)/mconf defconfig - if [ ! -f .config ];then \ + @if [ ! -f .config ];then \ $(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \ fi @$(CONFIG)/mconf $(CONFIG_CONFIG_IN) |