]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Fri, 3 May 2019 05:11:57 +0000 (06:11 +0100)
commit3418d1326ccd9253743acd3fc1ac5741125382c0
treefc239d78a5c43035c53bec307c76f279a57610c2
parent8216015a85812a225563ac85149ecaf37678d2c6
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.

(From OE-Core rev: 57a33048a89a422cfdc986d3489c67b2d297e1e7)

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