[Buildroot] [PATCH] core/sdk: generate the SDK tarball ourselves

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jun 11 19:01:25 UTC 2018


Hello,

On Mon, 11 Jun 2018 17:20:57 +0000, Trent Piepho wrote:

> Is the problem with using this tarball apparent?  The dockerfile needs
> to be hand edited on every single build to use the correct path to the
> SDK.
> 
> I've already added a "sdk-tar" to my external.mk to do this, but used
> the tarbomb approach.  While annoying for those who extract it in their
> home dir, it's much easier to use in an automated processes since there
> is no unknown path name component.

You want to use the --strip-components=1 option of tar, which Buildroot
is already using when extracting the tarballs of upstream packages into
the output/build/<package>-<version>/ directories.

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



More information about the buildroot mailing list