summaryrefslogtreecommitdiffstats
path: root/toolchain/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-12-15 15:28:48 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-12-15 15:28:48 +0000
commite2e4950b2d9334e6380e32cf30c7c7968747ccc0 (patch)
treec2d61eb791929dadfeaaade08db87c2551d6d51f /toolchain/Config.in
parent060dca08f9d90d78415dd1a7ce693e92d66f0d6b (diff)
downloadbuildroot-novena-e2e4950b2d9334e6380e32cf30c7c7968747ccc0.tar.gz
buildroot-novena-e2e4950b2d9334e6380e32cf30c7c7968747ccc0.zip
toolchain: use same gdb Config.in for internal/external toolchains
We used to use different gdb configs for internal and external toolchains because mconf won't source the same file twice. This works, but is kind of sub optimal, as people forget to keep them in sync. Fix it to use the same file for both situations by shuffling around the config options a bit. Should work identical to before (except for the newer gdb versions available for ext).
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r--toolchain/Config.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index ccea8c5e7..d66ce1d38 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -28,7 +28,16 @@ config BR2_TOOLCHAIN_SOURCE
source "target/device/Config.in.toolchain"
-source "toolchain/Config.in.2"
+source "toolchain/Config.in.1"
source "toolchain/external-toolchain/Config.in"
+# we want gdb config in the middle of both source and external
+# toolchains, but mconf won't let us source the same file twice,
+# so put it here instead
+source "toolchain/gdb/Config.in"
+comment "Common Toolchain Options"
+
+source "toolchain/Config.in.2"
+source "toolchain/external-toolchain/Config.in.2"
+
endmenu