summaryrefslogtreecommitdiff
path: root/config/companion_libs.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2015-11-07 06:15:11 (GMT)
committerAlexey Neyman <stilor@att.net>2015-11-13 18:28:44 (GMT)
commitac7ce3847590bd0983c581ad15c01a27c6637f18 (patch)
tree7f717ea85dc9ef3b1117b4040edce4cb032d555a /config/companion_libs.in
parent6f7e6b9969681cb3f85464066fa819fa90060783 (diff)
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/companion_libs.in')
-rw-r--r--config/companion_libs.in20
1 files changed, 17 insertions, 3 deletions
diff --git a/config/companion_libs.in b/config/companion_libs.in
index 0b0177c..2847f17 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