toolchain-external: make preinstall the default for custom toolchains
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 Jul 2012 18:57:26 +0000 (20:57 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 Jul 2012 18:57:26 +0000 (20:57 +0200)
All the defconfig files used by the autobuilders that use
pre-installed external toolchains are making the assumption that the
default for a custom external toolchain is "pre-installed". We keep
this default for now, since changing it breaks the autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
toolchain/toolchain-external/Config.in

index 5c29ecd0b13929d89061327d620caa7265406905..e34802dc2a59d888a02c1cca8ac8d3898b0519ad 100644 (file)
@@ -573,6 +573,10 @@ endchoice
 
 choice
        prompt "Toolchain origin"
+       # Keep compatibility with old defconfig files that are using
+       # custom toolchains, and which are therefore assuming that
+       # "preinstalled" in the default choice.
+       default BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
 
 config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
        bool "Toolchain to be downloaded and installed"