mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-06-11 04:37:26 -04:00
toolchain: sdk: ib: allow external toolchain override
Allow building imagebuilder and/or sdk with dependency on the same external toolchain as used to build the imagebuilder or sdk (so that ib and sdk may be built using an external toolchain). Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Original patch: https://lists.openwrt.org/pipermail/openwrt-devel/2016-January/012552.html [rebased to current main, impvove commit title] Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22089 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
c69beade60
commit
8f0b2b7d78
@@ -1,6 +1,6 @@
|
|||||||
config IB
|
config IB
|
||||||
bool "Build the OpenWrt Image Builder"
|
bool "Build the OpenWrt Image Builder"
|
||||||
depends on !EXTERNAL_TOOLCHAIN
|
depends on !EXTERNAL_TOOLCHAIN || EXTERNAL_TOOLCHAIN_IB
|
||||||
default BUILDBOT
|
default BUILDBOT
|
||||||
help
|
help
|
||||||
This is essentially a stripped-down version of the buildroot
|
This is essentially a stripped-down version of the buildroot
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
config SDK
|
config SDK
|
||||||
bool "Build the OpenWrt SDK"
|
bool "Build the OpenWrt SDK"
|
||||||
depends on !EXTERNAL_TOOLCHAIN
|
depends on !EXTERNAL_TOOLCHAIN || EXTERNAL_TOOLCHAIN_SDK
|
||||||
default BUILDBOT
|
default BUILDBOT
|
||||||
help
|
help
|
||||||
This is essentially a stripped-down version of the buildroot
|
This is essentially a stripped-down version of the buildroot
|
||||||
|
|||||||
@@ -194,6 +194,22 @@ menuconfig EXTERNAL_TOOLCHAIN
|
|||||||
Specify additional directories searched for libraries (override LDFLAGS).
|
Specify additional directories searched for libraries (override LDFLAGS).
|
||||||
Use ./DIR for directories relative to the root above.
|
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
|
config NEED_TOOLCHAIN
|
||||||
bool
|
bool
|
||||||
depends on DEVEL
|
depends on DEVEL
|
||||||
|
|||||||
Reference in New Issue
Block a user