From: Baruch Siach Date: Wed, 30 Sep 2015 17:41:27 +0000 (+0300) Subject: flashrom: fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=803ed997fb2eca841ffafa047b194cf322f766df;p=buildroot.git flashrom: fix static build Use $(TARGET_MAKE_ENV) to set $PATH so as to make sure Buildroot pkg-config is used. This corrects pkg-config output, and fixes static build. Fixes: http://autobuild.buildroot.net/results/b6e/b6e9f3cb7fa8019e631c14d9c832174125ec64ba/ http://autobuild.buildroot.net/results/30c/30c83f9c60ac5c7359ddabdc1f190ab12433ae92/ http://autobuild.buildroot.net/results/2a5/2a5da78dd5b2922796e3010e4a0477cb9f6355cb/ and more. Signed-off-by: Baruch Siach Signed-off-by: Peter Korsgaard --- diff --git a/package/flashrom/flashrom.mk b/package/flashrom/flashrom.mk index 525470aeff..7e0fcf27b3 100644 --- a/package/flashrom/flashrom.mk +++ b/package/flashrom/flashrom.mk @@ -7,12 +7,12 @@ FLASHROM_VERSION = 0.9.8 FLASHROM_SOURCE = flashrom-$(FLASHROM_VERSION).tar.bz2 FLASHROM_SITE = http://download.flashrom.org/releases -FLASHROM_DEPENDENCIES = pciutils libusb libusb-compat libftdi +FLASHROM_DEPENDENCIES = pciutils libusb libusb-compat libftdi host-pkgconf FLASHROM_LICENSE = GPLv2+ FLASHROM_LICENSE_FILES = COPYING define FLASHROM_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) endef define FLASHROM_INSTALL_TARGET_CMDS