[Buildroot] [PATCH next v6 07/10] core: implement per-package SDK and target

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Dec 5 16:31:03 UTC 2018


Hello Andreas,

On Wed, 5 Dec 2018 17:08:20 +0100, Andreas Naumann wrote:

> In an answer to v4 of this series I mentioned the issue I had with empty 
> RPATH in some host-lib. After digging some more I found this happens 
> during the prepare-sdk step (which I call in my wrapper script). Before 
> this step, your suggested readelf output reports the correct pathes, 
> however after, RPATH is empty. I compared this to a "standard" SDK, 
> there RPATH is set to $ORIGIN/../lib or something similar.

So are you saying the issue still exists, and to reproduce, I simply
need to do:

 $ make
 $ make prepare-sdk

of a build with BR2_PER_PACKAGE_DIRECTORIES=y ?

> Actually, an unrelated question arises: Why does the SDK need to build 
> world, which includes all filesystem images, first? Should it not be 
> sufficient to depend on $(PACKAGES) or now host-finalize only?

Yes, it would be sufficient to build packages + host-finalization I
believe.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list