summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.