summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:12:38 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-24 14:12:38 +0000
commit90d64ed2bfc6224394ac2ed7643883a447d261af (patch)
tree834bd90229594badde50d2a804df1fba68df2b1d
parentcc4cb291a4b44edcde002d62334810792b68ae59 (diff)
downloadbuildroot-novena-90d64ed2bfc6224394ac2ed7643883a447d261af.tar.gz
buildroot-novena-90d64ed2bfc6224394ac2ed7643883a447d261af.zip
Fix some bugs in libxml2 make
-rw-r--r--package/libxml2/Config.in10
-rw-r--r--package/libxml2/libxml2.mk4
2 files changed, 12 insertions, 2 deletions
diff --git a/package/libxml2/Config.in b/package/libxml2/Config.in
index cb5c49594..6d8ee45cf 100644
--- a/package/libxml2/Config.in
+++ b/package/libxml2/Config.in
@@ -6,3 +6,13 @@ config BR2_PACKAGE_LIBXML2
Requires WCHAR
ftp://xmlsoft.org/libxml2
+
+config BR2_PACKAGE_LIBXML2_TARGET_HEADERS
+ bool "libxml2 target headers"
+ default n
+ help
+ XML C Parser
+ Requires WCHAR
+
+ ftp://xmlsoft.org/libxml2
+
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index 0e6fc2d4c..d9e2a35e6 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -53,11 +53,11 @@ libxml2: uclibc $(TARGET_DIR)/usr/lib/libxml2.so libxml2-headers
$(STAGING_DIR)/usr/include/libxml: $(TARGET_DIR)/usr/lib/libxml2.a
cp -af $(LIBXML2_DIR)/include/libxml $(STAGING_DIR)/usr/include/libxml2
-$(TARGET_DIR)/usr/include: libxml2-headers
+$(TARGET_DIR)/usr/include/libxml2: libxml2-headers
cp -af $(LIBXML2_DIR)/include/libxml $(TARGET_DIR)/usr/include/libxml2
-libxml2-headers: $(STAGING_DIR)/usr/include/libxml2
+libxml2-headers: $(STAGING_DIR)/usr/include/libxml
libxml2-target-headers: $(TARGET_DIR)/usr/include/libxml2