]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: allow override of image LICENSE
authorPascal Bach <pascal.bach@siemens.com>
Wed, 3 May 2017 15:28:40 +0000 (17:28 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 May 2017 13:08:15 +0000 (14:08 +0100)
Currently the LICENSE of every image is hard set to MIT.
This allows this to be overriden in derived images.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image.bbclass

index 58cd608d14a4fae5b105735f91b0c05f2c73cecc..85f6b9a87b9f5203fda8808bc9130091a5c036ae 100644 (file)
@@ -9,7 +9,7 @@ TOOLCHAIN_TARGET_TASK += "${PACKAGE_INSTALL}"
 TOOLCHAIN_TARGET_TASK_ATTEMPTONLY += "${PACKAGE_INSTALL_ATTEMPTONLY}"
 POPULATE_SDK_POST_TARGET_COMMAND += "rootfs_sysroot_relativelinks; "
 
-LICENSE = "MIT"
+LICENSE ?= "MIT"
 PACKAGES = ""
 DEPENDS += "${MLPREFIX}qemuwrapper-cross depmodwrapper-cross"
 RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL}"