[Buildroot] [PATCH 0/9] qt5: install missing examples

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Jun 17 12:44:42 UTC 2018


Hello Gaël,

On Tue, 12 Jun 2018 08:31:57 -0400, Gaël PORTAY wrote:

> Regards,
> Gaël PORTAY (9):
>   qt5canvas3d: install examples to target
>   qt5location: install examples to target
>   qt5quickcontrols: install examples to target
>   qt5script: install examples to target
>   qt5wayland: install examples to target
>   qt5svg: install examples to target
>   qt5serialbus: install examples to target
>   qt5serialport: install examples to target
>   qt5sensors: install examples to target

Thanks, I've applied all your patches.

However, I am not super happy with how we install Qt5 packages right
now. What we do is:

 - Staging installation: "make install", with no DESTDIR or anything
   similar

 - Target installation: manual copy.

Ideally, I'd prefer if we could do:

 - Staging installation: make DESTDIR=$(STAGING_DIR) install
 - Target installation: make DESTDIR=$(TARGET_DIR) install

Unfortunately, this doesn't work as-is, because the $(STAGING_DIR)
location is hardcoded at Qt configure time, so it doesn't work
immediately to do separate installation for staging and target. I know
Arnout briefly looked into this during the last Buildroot hackathon.

However, it would be nice if someone could have a deeper look into
this. It would greatly help to simplify our Qt5 packages.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list