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

Andreas Naumann dev at andin.de
Wed Dec 5 16:52:00 UTC 2018


Hi,

Am 05.12.18 um 17:31 schrieb Thomas Petazzoni:
> 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 ?

in an essence that's what I did. My setup has two externals and some 
custom defconfig, but that shouldnt matter since without the ppsh 
patches things work fine.

> 
>> 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.

Ok, I might submit a patch in this direction then..


regards,
Andreas

> 
> Best regards,
> 
> Thomas
> 



More information about the buildroot mailing list