mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
Further cleanup of various poky references
(From OE-Core rev: fe73ea8c510877fe4e3c117985e8f3d0b79ddf1b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Populates LICENSE_DIRECTORY as set in poky.conf with the license files as set by
|
||||
# Populates LICENSE_DIRECTORY as set in distro config with the license files as set by
|
||||
# LIC_FILES_CHKSUM.
|
||||
# TODO:
|
||||
# - We should also enable the ability to put the generated license directory onto the
|
||||
@@ -31,7 +31,7 @@ python do_populate_lic() {
|
||||
destdir = os.path.join(bb.data.getVar('LICSSTATEDIR', d, True), pn)
|
||||
# The license files are located in S/LIC_FILE_CHECKSUM.
|
||||
srcdir = bb.data.getVar('S', d, True)
|
||||
# Directory we store the generic licenses as set in poky.conf
|
||||
# Directory we store the generic licenses as set in the distro configuration
|
||||
generic_directory = bb.data.getVar('COMMON_LICENSE_DIR', d, True)
|
||||
if not generic_directory:
|
||||
raise bb.build.FuncFailed("COMMON_LICENSE_DIR is unset. Please set this in your distro config")
|
||||
|
||||
Reference in New Issue
Block a user