summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-12 01:26:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-12 01:26:45 +0100
commit690005de4d88f24a118d234c67f96584254ecc05 (patch)
tree96f0714ec54fb3abb6e23f778c64c10031cd2e0a
parent965bf8becf63a12169cd964973e3a56fd96e21fe (diff)
disable ADK_NATIVE on FreeBSD host
-rw-r--r--mk/build.mk3
-rw-r--r--target/Config.in1
2 files changed, 4 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 95f047354..5f7399174 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -298,6 +298,9 @@ ifneq (,$(filter rb%,${TARGET}))
endif
menuconfig: $(CONFIG)/mconf defconfig
+ if [ ! -f .config ];then \
+ $(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \
+ fi
@$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
${POSTCONFIG}
diff --git a/target/Config.in b/target/Config.in
index 4d30e4001..64c517ac5 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -133,6 +133,7 @@ default ADK_LINUX_NATIVE
config ADK_LINUX_NATIVE
bool "Native platform"
select ADK_NATIVE
+ depends on ADK_HOST_LINUX
help
Make a native build. Use host tools.
No toolchain will be created.