ab310df188
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>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# qextserialport
|
|
#
|
|
################################################################################
|
|
|
|
QEXTSERIALPORT_VERSION = 6c47244de4ce6db43c2f05caee957666c951dae1
|
|
QEXTSERIALPORT_SITE = https://qextserialport.googlecode.com/git/
|
|
QEXTSERIALPORT_SITE_METHOD = git
|
|
|
|
QEXTSERIALPORT_LICENSE = MIT
|
|
|
|
QEXTSERIALPORT_DEPENDENCIES = qt
|
|
|
|
QEXTSERIALPORT_INSTALL_STAGING = YES
|
|
|
|
define QEXTSERIALPORT_CONFIGURE_CMDS
|
|
(cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE))
|
|
endef
|
|
|
|
define QEXTSERIALPORT_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define QEXTSERIALPORT_INSTALL_STAGING_CMDS
|
|
mkdir -p $(STAGING_DIR)/usr/include/QExtSerialPort
|
|
cp $(@D)/src/*.h $(STAGING_DIR)/usr/include/QExtSerialPort/
|
|
cp $(@D)/src/QExtSerialPort $(STAGING_DIR)/usr/include/QExtSerialPort/
|
|
cp -a $(@D)/*.so* $(STAGING_DIR)/usr/lib/
|
|
cp $(@D)/qextserialport.pc $(STAGING_DIR)/usr/lib/pkgconfig/
|
|
endef
|
|
|
|
define QEXTSERIALPORT_INSTALL_TARGET_CMDS
|
|
cp -a $(@D)/*.so.* $(TARGET_DIR)/usr/lib
|
|
endef
|
|
|
|
$(eval $(generic-package))
|