Skip to contentSkip to conversation

package/libxml2: remove helper script from target

PATCH New Norbert Lange 3 participants 3 messages Jun 5, 2020 – Jul 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libxml2: remove helper script from target

---
 package/libxml2/libxml2.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/libxml2/libxml2.mk +6 -0
index ea6a8c1f6d..a0efe041a5 100644
@@ -49,6 +49,12 @@ else
 LIBXML2_CONF_OPTS += --without-iconv
 endif
 
+define LIBXML2_INSTALL_TARGET_POST
+	rm -f $(TARGET_DIR)/usr/lib/xml2Conf.sh
+endef
+
+LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_INSTALL_TARGET_POST
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
 
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/1 package/libxml2: remove helper script from target

Quoted 10 lines · On Sat, 6 Jun 2020 00:57:18 +0200 Norbert Lange <[email protected]> wrote:
---
 package/libxml2/libxml2.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/libxml2/libxml2.mk +0 -0
index ea6a8c1f6d..a0efe041a5 100644

package/libxml2/libxml2.mk else · line 52

Quoted 4 lines
package/libxml2/libxml2.mk +1 -0
@@ -49,6 +49,12 @@ else
 LIBXML2_CONF_OPTS += --without-iconv
 endif
 
+define LIBXML2_INSTALL_TARGET_POST

LIBXML2_INSTALL_TARGET_POST is really not a great name: we want a name that is more descriptive of what the hook is doing. So I renamed to LIBXML2_CLEANUP_XML2CONF, and applied to master. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com