Commit ef951295 authored by Michael Roth's avatar Michael Roth Committed by Peter Korsgaard
Browse files

qt: remove Makefile variable QT_QMAKE_AR



The variable is only referenced once, so inline it.

Signed-off-by: default avatarMichael Roth <mroth@nessie.de>
Acked-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 10efac17
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -375,8 +375,6 @@ endif

QT_QMAKE_CONF:=$(QT_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QT_EMB_PLATFORM)-g++/qmake.conf

QT_QMAKE_AR:=$(TARGET_AR) cqs

# Variable for other Qt applications to use
QT_QMAKE:=$(STAGING_DIR)/usr/bin/qmake -spec qws/linux-$(BR2_PACKAGE_QT_EMB_PLATFORM)-g++

@@ -437,7 +435,7 @@ endif
	$(call QT_QMAKE_SET,CXX,$(TARGET_CXX))
	$(call QT_QMAKE_SET,LINK,$(TARGET_CXX))
	$(call QT_QMAKE_SET,LINK_SHLIB,$(TARGET_CXX))
	$(call QT_QMAKE_SET,AR,$(QT_QMAKE_AR))
	$(call QT_QMAKE_SET,AR,$(TARGET_AR) cqs)
	$(call QT_QMAKE_SET,OBJCOPY,$(TARGET_OBJCOPY))
	$(call QT_QMAKE_SET,RANLIB,$(TARGET_RANLIB))
	$(call QT_QMAKE_SET,STRIP,$(TARGET_STRIP))