]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_base: provide options to set sdk type
authorChangqing Li <changqing.li@windriver.com>
Tue, 30 Apr 2019 09:08:21 +0000 (17:08 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 May 2019 12:45:57 +0000 (13:45 +0100)
commit57a33048a89a422cfdc986d3489c67b2d297e1e7
tree6f6a131b66775e0bb6ed8de611d4c07d400e07af
parent2ea676072d7edd06ef9e886827c0d61d574ca377
populate_sdk_base: provide options to set sdk type

Current sdk type is tar.xz, but for mingw sdk, since we
have symlink under the sdk folder, 7zip which used to
extract tar.xz cannot handle it, refer 7zip upstream bug:
https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/
so add option for usr can select the sdk type.

Add override SDK_ARCHIVE_TYPE, default type is tar.xz, and also
support type zip. user want to use zip type can set SDK_ARCHIVE_TYPE
to zip.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass
meta/files/toolchain-shar-extract.sh