mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
Cleanup libxml2
This commit is contained in:
parent
39435919e8
commit
e1875d3ba2
@ -1,19 +1,15 @@
|
|||||||
config BR2_PACKAGE_LIBXML2
|
config BR2_PACKAGE_LIBXML2
|
||||||
bool "libxml2"
|
bool "libxml2"
|
||||||
default n
|
default n
|
||||||
depends on BR2_USE_WCHAR
|
|
||||||
help
|
help
|
||||||
XML C Parser
|
XML C Parser
|
||||||
Requires WCHAR
|
|
||||||
|
|
||||||
ftp://xmlsoft.org/libxml2
|
ftp://xmlsoft.org/libxml2
|
||||||
|
|
||||||
config BR2_PACKAGE_LIBXML2_TARGET_HEADERS
|
config BR2_PACKAGE_LIBXML2_TARGET_HEADERS
|
||||||
bool "libxml2 target headers"
|
bool "libxml2 target headers"
|
||||||
default n
|
default n
|
||||||
|
depends on BR2_PACKAGE_LIBXML2
|
||||||
help
|
help
|
||||||
XML C Parser
|
XML C Parser
|
||||||
Requires WCHAR
|
|
||||||
|
|
||||||
ftp://xmlsoft.org/libxml2
|
ftp://xmlsoft.org/libxml2
|
||||||
|
|
||||||
|
@ -26,8 +26,23 @@ $(LIBXML2_DIR)/.configured: $(LIBXML2_DIR)/.unpacked
|
|||||||
--host=$(GNU_TARGET_NAME) \
|
--host=$(GNU_TARGET_NAME) \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--exec-prefix=/usr \
|
||||||
|
--bindir=/usr/bin \
|
||||||
|
--sbindir=/usr/sbin \
|
||||||
|
--libexecdir=/usr/lib \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
--datadir=/usr/share \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--infodir=/usr/info \
|
||||||
|
--includedir=/usr/include \
|
||||||
|
--with-gnu-ld \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
--enable-static \
|
||||||
|
--enable-ipv6=no \
|
||||||
|
--without-debugging \
|
||||||
|
--without-python \
|
||||||
|
--without-threads \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
);
|
);
|
||||||
touch $(LIBXML2_DIR)/.configured
|
touch $(LIBXML2_DIR)/.configured
|
||||||
@ -38,6 +53,10 @@ $(LIBXML2_DIR)/libxml2.la: $(LIBXML2_DIR)/.configured
|
|||||||
|
|
||||||
$(STAGING_DIR)/usr/lib/libxml2.so: $(LIBXML2_DIR)/libxml2.la
|
$(STAGING_DIR)/usr/lib/libxml2.so: $(LIBXML2_DIR)/libxml2.la
|
||||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBXML2_DIR) install
|
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBXML2_DIR) install
|
||||||
|
rm -f $(STAGING_DIR)/usr/lib/libxml2.la
|
||||||
|
$(SED) 's:prefix=/usr:prefix=$(STAGING_DIR)/usr:' \
|
||||||
|
-e 's:includedir=/usr/include:includedir=$(STAGING_DIR)/usr/include:' \
|
||||||
|
$(STAGING_DIR)/usr/bin/xml2-config
|
||||||
|
|
||||||
$(TARGET_DIR)/usr/lib/libxml2.so: $(STAGING_DIR)/usr/lib/libxml2.so
|
$(TARGET_DIR)/usr/lib/libxml2.so: $(STAGING_DIR)/usr/lib/libxml2.so
|
||||||
cp -dpf $(STAGING_DIR)/usr/lib/libxml2.so* $(TARGET_DIR)/usr/lib/
|
cp -dpf $(STAGING_DIR)/usr/lib/libxml2.so* $(TARGET_DIR)/usr/lib/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user