From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Tue, 06 Nov 2012 01:49:46 +0100 Subject: [Buildroot] [PATCHv3] QtSerialPort: new package In-Reply-To: References: <20121029154949.GA15033@localhost.comm5.com.br> <87y5iiy6pw.fsf@dell.be.48ers.dk> Message-ID: <50985EAA.9000009@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 11/05/12 14:37, Thiago A. Corr?a wrote: >> > Thiago> +define QTSERIALPORT_INSTALL_STAGING_CMDS >> > Thiago> + $(MAKE) -C $(@D)/src install >> > Thiago> + mv $(HOST_DIR)/usr/include/QtAddOnSerialPort $(STAGING_DIR)/usr/include/ >> > >> > That seems funky. Why is it installing under HOST_DIR in the first >> > place? > Beats me:( > The makefile generated by qmake is installing them there. Haven't > found a better way to fix that so far. Yikes! ./host/usr/bin/qmake -query QT_INSTALL_PREFIX:/home/arnout/src/buildroot/output/host/usr QT_INSTALL_DATA:/home/arnout/src/buildroot/output/host/usr QT_INSTALL_DOCS:/home/arnout/src/buildroot/output/host/usr/doc QT_INSTALL_HEADERS:/home/arnout/src/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/include QT_INSTALL_LIBS:/home/arnout/src/buildroot/output/host/usr/x86_64-buildroot-linux-gnu/sysroot/usr/lib QT_INSTALL_BINS:/home/arnout/src/buildroot/output/host/usr/bin QT_INSTALL_PLUGINS:/home/arnout/src/buildroot/output/host/usr/plugins QT_INSTALL_IMPORTS:/home/arnout/src/buildroot/output/host/usr/imports QT_INSTALL_TRANSLATIONS:/home/arnout/src/buildroot/output/host/usr/translations QT_INSTALL_CONFIGURATION:/home/arnout/src/buildroot/output/host/usr QT_INSTALL_EXAMPLES:/home/arnout/src/buildroot/output/host/usr QT_INSTALL_DEMOS:/home/arnout/src/buildroot/output/host/usr QMAKE_MKSPECS:/home/arnout/src/buildroot/output/host/usr/mkspecs QMAKE_VERSION:2.01a QT_VERSION:4.8.3 This is because we install qmake in $(HOST_DIR) and use a qt.conf to make the paths point back to staging, but only for headers and libraries. Thomas, do you remember why you didn't do that for prefix and data? (qt.mk:569-573, introduced by ca290e7e). Regards, Arnout -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F