svn commit: trunk/buildroot/toolchain: external-toolchain gdb
Author: jacmet
Date: 2008-12-15 07:28:48 -0800 (Mon, 15 Dec 2008) New Revision: 24418
Log:
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).
Added:
trunk/buildroot/toolchain/Config.in.1 trunk/buildroot/toolchain/external-toolchain/Config.in.2
Removed:
trunk/buildroot/toolchain/gdb/Config.in.2
Modified:
trunk/buildroot/toolchain/Config.in trunk/buildroot/toolchain/Config.in.2 trunk/buildroot/toolchain/external-toolchain/Config.in trunk/buildroot/toolchain/gdb/gdb.mk
Changeset:
Modified: trunk/buildroot/toolchain/Config.in
===================================================================
buildroot/toolchain/Config.in +10 -1
@@ -28,7 +28,16 @@ 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
Added: trunk/buildroot/toolchain/Config.in.1
===================================================================
buildroot/toolchain/Config.in.1 +9 -0
@@ -0,0 +1,9 @@ +# + +if BR2_TOOLCHAIN_SOURCE +source "toolchain/kernel-headers/Config.in" +source "toolchain/uClibc/Config.in" +source "toolchain/binutils/Config.in" +source "toolchain/gcc/Config.in" +source "toolchain/ccache/Config.in" +endif
Modified: trunk/buildroot/toolchain/Config.in.2
===================================================================
buildroot/toolchain/Config.in.2 +0 -9
@@ -1,15 +1,6 @@ # if BR2_TOOLCHAIN_SOURCE -source "toolchain/kernel-headers/Config.in" -source "toolchain/uClibc/Config.in" -source "toolchain/binutils/Config.in" -source "toolchain/gcc/Config.in" -source "toolchain/ccache/Config.in" -source "toolchain/gdb/Config.in" - -comment "Common Toolchain Options" - source "toolchain/elf2flt/Config.in" source "toolchain/mklibs/Config.in" source "toolchain/sstrip/Config.in"
Modified: trunk/buildroot/toolchain/external-toolchain/Config.in
===================================================================
buildroot/toolchain/external-toolchain/Config.in +0 -81
91 lines not on this page · raw message
Added: trunk/buildroot/toolchain/external-toolchain/Config.in.2
===================================================================
buildroot/toolchain/external-toolchain/Config.in.2 +77 -0
77 lines not on this page · raw message
Deleted: trunk/buildroot/toolchain/gdb/Config.in.2
===================================================================
buildroot/toolchain/gdb/Config.in.2 +0 -54
54 lines not on this page · raw message
Modified: trunk/buildroot/toolchain/gdb/gdb.mk
===================================================================
buildroot/toolchain/gdb/gdb.mk +0 -5
@@ -3,13 +3,8 @@ # gdb # ###################################################################### -ifeq ($(BR2_TOOLCHAIN_SOURCE),y) GDB_VERSION:=$(strip $(subst ",, $(BR2_GDB_VERSION))) #")) -else -GDB_VERSION:=$(strip $(subst ",, $(BR2_EXT_GDB_VERSION))) -#")) -endif ifeq ($(GDB_VERSION),snapshot) # Be aware that this changes daily....