[packages/qt4] add the possibility of specifying and passing a path relative to $(PKG_BUILD_DIR) to qmake for *.pro files lying in subdirectories

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25660 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2011-02-22 12:13:07 +00:00
parent a700dffafa
commit e0c3b555b8

View File

@ -36,8 +36,8 @@ define Build/Configure/Qmake
STAGING_DIR="$(STAGING_DIR)" \
qmake \
-spec $(QMAKE_SPECFILE) \
-o $(PKG_BUILD_DIR)/Makefile \
$(PKG_BUILD_DIR)/$(1).pro
-o $(PKG_BUILD_DIR)/$(2)/Makefile \
$(PKG_BUILD_DIR)/$(2)/$(1).pro
endef
# we need to pass everything to $(MAKE) as well, as Makefiles may invoke qmake once again for creating further Makefiles