[packages/qt4] qmake.mk: pass $(STAGING_DIR); override Build/Compile/Default
authorMirko Vogt <mirko@openwrt.org>
Mon, 7 Feb 2011 13:03:54 +0000 (13:03 +0000)
committerMirko Vogt <mirko@openwrt.org>
Mon, 7 Feb 2011 13:03:54 +0000 (13:03 +0000)
SVN-Revision: 25401

Xorg/lib/qt4/files/qmake.mk

index cf4dc23..cee4503 100644 (file)
@@ -23,8 +23,14 @@ define Build/Configure/Qmake
        TARGET_INCDIRS="$(TARGET_INCDIRS)" \
        TARGET_LIBDIRS="$(TARGET_LIBDIRS)" \
        STAGING_DIR_HOST="$(STAGING_DIR)/../host" \
+       STAGING_DIR="$(STAGING_DIR)" \
        qmake \
                -spec $(QMAKE_SPECFILE) \
                -o $(PKG_BUILD_DIR)/Makefile \
                $(PKG_BUILD_DIR)/$(1).pro
 endef
+
+define Build/Compile/Default
+       $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
+               $(1);
+endef