diff options
author | Alexey Neyman <stilor@att.net> | 2015-11-06 22:15:11 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2015-11-13 10:28:44 -0800 |
commit | ac7ce3847590bd0983c581ad15c01a27c6637f18 (patch) | |
tree | 7f717ea85dc9ef3b1117b4040edce4cb032d555a /config | |
parent | 6f7e6b9969681cb3f85464066fa819fa90060783 (diff) | |
download | crosstool-ng-ac7ce3847590bd0983c581ad15c01a27c6637f18.tar.gz crosstool-ng-ac7ce3847590bd0983c581ad15c01a27c6637f18.tar.bz2 crosstool-ng-ac7ce3847590bd0983c581ad15c01a27c6637f18.zip |
Convert expat for target into a companion lib.
Expat-for-host to be done.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config')
-rw-r--r-- | config/companion_libs.in | 20 | ||||
-rw-r--r-- | config/companion_libs/expat.in | 19 | ||||
-rw-r--r-- | config/debug/gdb.in.native | 1 |
3 files changed, 37 insertions, 3 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in index 0b0177c3..2847f179 100644 --- a/config/companion_libs.in +++ b/config/companion_libs.in @@ -53,6 +53,11 @@ config LIBELF_NEEDED select LIBELF select COMPLIBS_NEEDED +config EXPAT_NEEDED + bool + select EXPAT + select COMPLIBS_NEEDED + config COMPLIBS bool @@ -101,6 +106,13 @@ config LIBELF config LIBELF_TARGET bool +config EXPAT + bool + select COMPLIBS + +config EXPAT_TARGET + bool + if LIBICONV source "config/companion_libs/libiconv.in" endif @@ -130,9 +142,11 @@ comment "libelf version needed to build for target" depends on !LIBELF source "config/companion_libs/libelf.in" endif - -config FOO - bool +if EXPAT || EXPAT_TARGET +comment "expat version needed to build for target" + depends on !EXPAT +source "config/companion_libs/expat.in" +endif if COMPLIBS diff --git a/config/companion_libs/expat.in b/config/companion_libs/expat.in new file mode 100644 index 00000000..1dff4a79 --- /dev/null +++ b/config/companion_libs/expat.in @@ -0,0 +1,19 @@ +# expat config file + +choice + bool + prompt "expat version" +# Don't remove next line +# CT_INSERT_VERSION_BELOW + +config EXPAT_V_2_1_0 + bool + prompt "2.1.0" + +endchoice + +config EXPAT_VERSION + string +# Don't remove next line +# CT_INSERT_VERSION_STRING_BELOW + default "2.1.0" if EXPAT_V_2_1_0 diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index 8d2159af..4f7e96a0 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -5,6 +5,7 @@ config GDB_NATIVE prompt "Native gdb" depends on ! BARE_METAL depends on ! BACKEND + select EXPAT_TARGET help Build and install a native gdb for the target, to run on the target. |