@@ -1,7 +1,7 @@
config IB
bool "Build the OpenWrt Image Builder"
depends on !PROFILE_KCONFIG
- depends on !EXTERNAL_TOOLCHAIN
+ depends on !EXTERNAL_TOOLCHAIN || EXTERNAL_TOOLCHAIN_IB
help
This is essentially a stripped-down version of the buildroot
with precompiled packages, kernel image and image building tools.
@@ -1,6 +1,6 @@
config SDK
bool "Build the OpenWrt SDK"
- depends on !EXTERNAL_TOOLCHAIN
+ depends on !EXTERNAL_TOOLCHAIN || EXTERNAL_TOOLCHAIN_SDK
help
This is essentially a stripped-down version of the buildroot
with a precompiled toolchain. It can be used to develop and
@@ -134,6 +134,22 @@ menuconfig EXTERNAL_TOOLCHAIN
Specify additional directories searched for libraries (override LDFLAGS).
Use ./DIR for directories relative to the root above.
+ config EXTERNAL_TOOLCHAIN_IB
+ bool
+ prompt "Allow Imagebuilder with external toolchain" if DEVEL
+ depends on EXTERNAL_TOOLCHAIN
+ default n
+ help
+ Allows selecting to build ImageBuilder even with external toolchain.
+
+ config EXTERNAL_TOOLCHAIN_SDK
+ bool
+ prompt "Allow SDK with external toolchain" if DEVEL
+ depends on EXTERNAL_TOOLCHAIN
+ default n
+ help
+ Allows selecting to build SDK even with external toolchain.
+
config NEED_TOOLCHAIN
bool
depends on DEVEL