diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 12:26:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-21 12:56:16 +0100 |
commit | 65f4b6541041e62f562830cfedf8284c0bc86a16 (patch) | |
tree | 0effc3553e119325dd1cd70a33c3712ad4d9cf56 /meta/classes/license.bbclass | |
parent | 91d72e6a992d5ed55c0af427e147c7ae3adc517c (diff) | |
download | poky-65f4b6541041e62f562830cfedf8284c0bc86a16.tar.gz |
Further cleanup of various poky references
(From OE-Core rev: fe73ea8c510877fe4e3c117985e8f3d0b79ddf1b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r-- | meta/classes/license.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 5e9ebe5ef4..d0a14187ff 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -1,4 +1,4 @@ | |||
1 | # Populates LICENSE_DIRECTORY as set in poky.conf with the license files as set by | 1 | # Populates LICENSE_DIRECTORY as set in distro config with the license files as set by |
2 | # LIC_FILES_CHKSUM. | 2 | # LIC_FILES_CHKSUM. |
3 | # TODO: | 3 | # TODO: |
4 | # - We should also enable the ability to put the generated license directory onto the | 4 | # - We should also enable the ability to put the generated license directory onto the |
@@ -31,7 +31,7 @@ python do_populate_lic() { | |||
31 | destdir = os.path.join(bb.data.getVar('LICSSTATEDIR', d, True), pn) | 31 | destdir = os.path.join(bb.data.getVar('LICSSTATEDIR', d, True), pn) |
32 | # The license files are located in S/LIC_FILE_CHECKSUM. | 32 | # The license files are located in S/LIC_FILE_CHECKSUM. |
33 | srcdir = bb.data.getVar('S', d, True) | 33 | srcdir = bb.data.getVar('S', d, True) |
34 | # Directory we store the generic licenses as set in poky.conf | 34 | # Directory we store the generic licenses as set in the distro configuration |
35 | generic_directory = bb.data.getVar('COMMON_LICENSE_DIR', d, True) | 35 | generic_directory = bb.data.getVar('COMMON_LICENSE_DIR', d, True) |
36 | if not generic_directory: | 36 | if not generic_directory: |
37 | raise bb.build.FuncFailed("COMMON_LICENSE_DIR is unset. Please set this in your distro config") | 37 | raise bb.build.FuncFailed("COMMON_LICENSE_DIR is unset. Please set this in your distro config") |