]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: allow SDK path of various level
authorFabien Proriol <Fabien.Proriol@jdsu.com>
Tue, 16 Oct 2012 14:32:30 +0000 (14:32 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 27 Oct 2012 08:33:42 +0000 (09:33 +0100)
commit7aee4e9438755c230e1399bd5226d6c8e7fcca31
tree313aa9b5dfc5353fe0c46e32b3247ece8b84b669
parent930216cb9092904642c0419d3475fc731ab0694b
populate_sdk_base: allow SDK path of various level

In the previous version, tar extraction use the --strip-component
option with "4" hard coded value.
If we set another SDKPATH, with a different depth, the sdk installation
fails.

This patch computes the level from the SDKPATH value.

Signed-off-by: Fabien Proriol <fabien.proriol@jdsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass