[OE-core] [PATCH] populate_sdk_base: add option of add other type of sdk

Burton, Ross ross.burton at intel.com
Wed Jan 16 12:07:58 UTC 2019


On Wed, 16 Jan 2019 at 09:37, <changqing.li at windriver.com> wrote:
> +SDK_TAR_TYPE ?= "tar.xz"
> +SDK_TAR_DEPENDS ?= "xz-native"
> +SDK_TAR_CMD ?= "tar ${SDKTAROPTS} -cf - . | xz -T 0 > ${SDKDEPLOYDIR}/${TOOLCHAIN_OUTPUTNAME}.${SDK_TAR_TYPE}"

Don't call these SDK_TAR because they might not be generating a
tarball.  How about SDK_ARCHIVE_*

Using overrides or flags would let you put the zip logic into oe-core
too, because it is feasible that more than meta-mingw will want to use
zip archives.

Also, add a comment about the expected behaviour of the CMD,
specifically what the input variables are and where the output should
go.  Bonus points fo refactoring slightly so the command is passed an
absolute input directory, and absolute output filename.

Ross


More information about the Openembedded-core mailing list