Explorar o código

disable ADK_NATIVE on FreeBSD host

Waldemar Brodkorb %!s(int64=15) %!d(string=hai) anos
pai
achega
690005de4d
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 3 0
      mk/build.mk
  2. 1 0
      target/Config.in

+ 3 - 0
mk/build.mk

@@ -298,6 +298,9 @@ ifneq (,$(filter rb%,${TARGET}))
 endif
 endif
 
 
 menuconfig: $(CONFIG)/mconf defconfig
 menuconfig: $(CONFIG)/mconf defconfig
+	if [ ! -f .config ];then \
+		$(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \
+	fi
 	@$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
 	@$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
 	${POSTCONFIG}
 	${POSTCONFIG}
 
 

+ 1 - 0
target/Config.in

@@ -133,6 +133,7 @@ default ADK_LINUX_NATIVE
 config ADK_LINUX_NATIVE
 config ADK_LINUX_NATIVE
 	bool "Native platform"
 	bool "Native platform"
 	select ADK_NATIVE
 	select ADK_NATIVE
+	depends on ADK_HOST_LINUX
 	help
 	help
 	  Make a native build. Use host tools.
 	  Make a native build. Use host tools.
 	  No toolchain will be created.
 	  No toolchain will be created.