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/pkg-config/pkg-config.mk | 7 ------- 1 file changed, 7 deletions(-) (limited to 'package/pkg-config') diff --git a/package/pkg-config/pkg-config.mk b/package/pkg-config/pkg-config.mk index 330b16603..d0bc42478 100644 --- a/package/pkg-config/pkg-config.mk +++ b/package/pkg-config/pkg-config.mk @@ -15,13 +15,6 @@ HOST_PKG_CONFIG_CONF_OPT = \ --with-pc-path="$(STAGING_DIR)/usr/lib/pkgconfig" \ --disable-static -define HOST_PKG_CONFIG_INSTALL_M4 -install -D -m 0644 $(HOST_DIR)/usr/share/aclocal/pkg.m4 \ - $(STAGING_DIR)/usr/share/aclocal/pkg.m4 -endef - -HOST_PKG_CONFIG_POST_INSTALL_HOOKS += HOST_PKG_CONFIG_INSTALL_M4 - $(eval $(call AUTOTARGETS,package,pkg-config)) $(eval $(call AUTOTARGETS,package,pkg-config,host)) -- cgit v1.2.3