aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Fabio Porcedda <fabio.porcedda@gmail.com>2014-04-07 11:56:48 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-16 19:37:08 +0200
commit5f70a007c8e5a6c1ae6a01739a53c87c0fafbe44 (patch)
treed05c3ba6645a2da0acf12ea2e028f1c0f74a527b /toolchain
parent690d8ff5bcf317b3b8b2457da759659017fad442 (diff)
downloadbuildroot-5f70a007c8e5a6c1ae6a01739a53c87c0fafbe44.tar.gz
buildroot-5f70a007c8e5a6c1ae6a01739a53c87c0fafbe44.tar.bz2
toolchain: add a hidden config option to enable the toolchain package
The usual way to enable a package using the package infrastructure is to use a config option so instead to add the toolchain package to the TARGETS variable in the Makefile add a config option like all the other toolchain packages. [Thomas: remove comment that no longer made sense in the main Makefile, and add a comment above the new hidden Config.in option to explain what it is useful for.] Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 44f3ac66d8..a1065ac228 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -1,5 +1,11 @@
menu "Toolchain"
+# Invisible option that makes sure the toolchain package always gets
+# built
+config BR2_TOOLCHAIN
+ bool
+ default y
+
# Should be selected for glibc or eglibc
config BR2_TOOLCHAIN_USES_GLIBC
bool