From: Pascal Bach Date: Wed, 3 May 2017 15:28:40 +0000 (+0200) Subject: image.bbclass: allow override of image LICENSE X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21472 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62454568c12d4fd19bb69b1b679e9c7b6dc95927;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git image.bbclass: allow override of image LICENSE 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 Signed-off-by: Ross Burton --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 58cd608d14a..85f6b9a87b9 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -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}"