]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
qextserialport: use TARGET_MAKE_ENV when running make and qmake
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Wed, 19 Mar 2014 19:30:09 +0000 (20:30 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 27 Mar 2014 22:20:33 +0000 (23:20 +0100)
This patch prepends TARGET_MAKE_ENV to $(MAKE) and $(QT_QMAKE) command
lines, to make sure PATH is set correctly, and to line up with the qt5
packages that do this consistently.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qextserialport/qextserialport.mk

index 45dc9b844b01b7c3165f268d062a5c0b1be8c44d..b8884354bd3c4b6ca008d8fec2e18f8a18df1784 100644 (file)
@@ -15,11 +15,11 @@ QEXTSERIALPORT_DEPENDENCIES = qt
 QEXTSERIALPORT_INSTALL_STAGING = YES
 
 define QEXTSERIALPORT_CONFIGURE_CMDS
-       (cd $(@D); $(QT_QMAKE))
+       (cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE))
 endef
 
 define QEXTSERIALPORT_BUILD_CMDS
-       $(MAKE) -C $(@D)
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
 endef
 
 define QEXTSERIALPORT_INSTALL_STAGING_CMDS