summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-30 15:27:21 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-30 15:27:21 +0100
commit86ada69f32491de2415d237605370e7f4e8d5e01 (patch)
treec6b3a66608e868d9e50727a6a3b49546a4278f98 /mk
parentc2710be1b1b700412e107e70e4a9fb74d171122b (diff)
fix some cygwin issues
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index e8309afba..b8743089c 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -167,7 +167,7 @@ switch:
kernelconfig:
cp $(TOPDIR)/target/$(ADK_TARGET)/kernel.config $(BUILD_DIR)/linux/.config
- make -C $(BUILD_DIR)/linux/ ARCH=$(ARCH) menuconfig
+ $(MAKE) -C $(BUILD_DIR)/linux/ ARCH=$(ARCH) menuconfig
cp $(BUILD_DIR)/linux/.config $(TOPDIR)/target/$(ADK_TARGET)/kernel.config
#############################################################
@@ -311,6 +311,9 @@ endif
ifeq (${OStype},NetBSD)
@echo ADK_HOST_NETBSD=y > $(TOPDIR)/all.config
endif
+ifneq (,$(filter CYGWIN%,${OStype}))
+ @echo ADK_HOST_CYGWIN=y > $(TOPDIR)/all.config
+endif
@if [ ! -z "$(TARGET)" ];then \
grep "^config" target/Config.in \
|grep -i "$(TARGET)" \