[Buildroot] [PATCH v7 04/18] core: staging symlink uses a relative path when possible

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Mar 12 13:12:17 UTC 2016


Hello,

On Sat, 12 Mar 2016 10:11:29 +0100, Samuel Martin wrote:

> > Why is this important for a relocatable SDK ? The SDK is $(HOST_DIR),
> > and the staging symlink is just a convenience symlink which sits
> > outside of $(HOST_DIR), and hence outside the SDK.
> Right, but what about consistency in BR? if we do all the job for
> having a full relocatable SDK, why should we keep this symlink an
> absolute one?

Because there is no point in adding more complexity in BR if it's
useless.

> Also, one of my tests in the relocatable SDK work is moving around the
> whole output directory; so I need this patch in this case. Maybe this
> is not a valid case?

I don't see the point of moving the entire output/ directory, because
there are lots and lots and lots of absolute paths all over the place
in the build directory of packages.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list