Browse Source

- rework $(PKG_CONFIG) target

master
vanhofen 6 years ago
parent
commit
8024985b1d
  1. 11
      make/host-tools.mk

11
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

Loading…
Cancel
Save