copy over qt4 host tools (qmake, moc, rcc, uic) into staging_dir_host

git-svn-id: svn://svn.openwrt.org/openwrt/packages@22264 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2010-07-17 17:43:39 +00:00
parent cf6fe21f5e
commit aaf380803f

View File

@ -168,6 +168,7 @@ define Build/Configure
# svg: svg support always compiled in, as once qt is built without, strange include errors occur when we're going to compile qt4-svg afterwards # svg: svg support always compiled in, as once qt is built without, strange include errors occur when we're going to compile qt4-svg afterwards
# linuxfb/directfb: since directfb is not much overhead compared to plain framebuffer, force using directfb # linuxfb/directfb: since directfb is not much overhead compared to plain framebuffer, force using directfb
# do not use fontconfig as it doesn't work anyway for qte # do not use fontconfig as it doesn't work anyway for qte
# bindir: bindir is where the host tools (qmake, moc, rcc, uic) will get installed into - they are just used on the host and not goig to be packaged
( \ ( \
cd $(PKG_BUILD_DIR); \ cd $(PKG_BUILD_DIR); \
QPATH='mkspecs/qws/linux-openwrt-g++' ; \ QPATH='mkspecs/qws/linux-openwrt-g++' ; \
@ -294,6 +295,14 @@ define Build/Compile
endef endef
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) \
$(STAGING_DIR_HOST)/bin
# host tools (qmake, moc, rcc, uic)
$(CP) \
$(PKG_INSTALL_DIR)/usr/bin/{qmake,moc,rcc,uic} \
$(STAGING_DIR_HOST)/bin/
$(INSTALL_DIR) \ $(INSTALL_DIR) \
$(1)/usr/share/mkspecs \ $(1)/usr/share/mkspecs \
$(1)/usr/lib/pkgconfig \ $(1)/usr/lib/pkgconfig \