pciutils: ensure cross-pkgconfig is used
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 29 Apr 2013 07:17:15 +0000 (09:17 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 29 Apr 2013 07:17:15 +0000 (09:17 +0200)
For build with libkmod.

Fixes http://autobuild.buildroot.net/results/70cdca5c5a41a14277c616fba3a58d8aa5fa5a2c/build-end.log

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pciutils/pciutils.mk

index 2cd10c0b5dc8503ee488ea5088f2129c519c2a1e..c1ae09437830208b9158b83d2205b892dba86ed7 100644 (file)
@@ -40,7 +40,7 @@ define PCIUTILS_CONFIGURE_CMDS
 endef
 
 define PCIUTILS_BUILD_CMDS
-       $(MAKE) CC="$(TARGET_CC)" \
+       $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" \
                HOST="$(KERNEL_ARCH)-linux" \
                OPT="$(TARGET_CFLAGS)" \
                LDFLAGS="$(TARGET_LDFLAGS)" \