From 8024985b1d8af9dd5a3b0843616f9cd89d834f62 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 27 Aug 2019 21:36:27 +0200 Subject: [PATCH] - rework $(PKG_CONFIG) target --- make/host-tools.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/make/host-tools.mk b/make/host-tools.mk index 0376d259..1864f2f2 100644 --- a/make/host-tools.mk +++ b/make/host-tools.mk @@ -5,7 +5,7 @@ host-preqs: $(HOST_DIR)/bin \ host-pkg-config \ - host-pkg-config-link \ + $(PKG_CONFIG) \ host-mkfs.jffs2 \ host-sumtool \ host-mkimage \ @@ -48,10 +48,6 @@ $(HOST_DIR)/bin/pkg-config: $(ARCHIVE)/$(HOST_PKG-CONFIG_SOURCE) | $(HOST_DIR)/b $(INSTALL_EXEC) -D pkg-config $(HOST_DIR)/bin $(REMOVE)/$(HOST_PKG-CONFIG_TMP) -host-pkg-config-link: $(HOST_DIR)/bin/$(TARGET)-pkg-config -$(HOST_DIR)/bin/$(TARGET)-pkg-config: | $(HOST_DIR)/bin - ln -sf pkg-config $(@) - # ----------------------------------------------------------------------------- HOST_PKGCONF_VER = 1.6.3 @@ -84,6 +80,11 @@ $(HOST_DIR)/bin/pkgconf: $(ARCHIVE)/$(HOST_PKGCONF_SOURCE) | $(HOST_DIR)/bin pkg # ----------------------------------------------------------------------------- +$(PKG_CONFIG): | $(HOST_DIR)/bin + ln -sf pkg-config $(@) + +# ----------------------------------------------------------------------------- + HOST_MTD-UTILS_VER = $(MTD-UTILS_VER) HOST_MTD-UTILS_TMP = mtd-utils-$(HOST_MTD-UTILS_VER) HOST_MTD-UTILS_SOURCE = mtd-utils-$(HOST_MTD-UTILS_VER).tar.bz2