From a68640c31dbf216eb5862d76daefce4b7e754795 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Sun, 26 Dec 2010 17:16:35 +0100 Subject: package: avoid copying .m4 files from host to staging Since we are preparing a package generation mechanism, we would like to avoid packages that move/touch/modify files which are not part of their own package. That's why we try to not install host files into the staging directory (in this case .m4 files) and instead we include $(HOST_DIR)/usr/share/aclocal into autoreconf search directory. Signed-off-by: Lionel Landwerlin Signed-off-by: Peter Korsgaard --- package/libtool/libtool.mk | 9 --------- 1 file changed, 9 deletions(-) (limited to 'package/libtool') diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk index 60fee9fd2..330624405 100644 --- a/package/libtool/libtool.mk +++ b/package/libtool/libtool.mk @@ -7,15 +7,6 @@ LIBTOOL_VERSION = 2.2.10 LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.gz LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool -define HOST_LIBTOOL_CUSTOM_INSTALL - install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/libtool.m4 \ - $(STAGING_DIR)/usr/share/aclocal/libtool.m4 - install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/ltdl.m4 \ - $(STAGING_DIR)/usr/share/aclocal/ltdl.m4 -endef - -HOST_LIBTOOL_POST_INSTALL_HOOKS += HOST_LIBTOOL_CUSTOM_INSTALL - HOST_LIBTOOL_LIBTOOL_PATCH = NO $(eval $(call AUTOTARGETS,package,libtool)) -- cgit v1.2.3-55-g7522