diff options
author | Elizabeth Flanagan <elizabeth.flanagan@intel.com> | 2012-09-26 14:50:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-28 11:07:41 +0100 |
commit | 4f82c4eaf7a6944c3d1bb17fd6972ea035b6a27c (patch) | |
tree | d3bde4b06e95c3f0d478f68a5440238bb904ddc2 /meta/classes | |
parent | 7d95141c5abecbd19fa1f3dccabfbe46aad01192 (diff) | |
download | poky-4f82c4eaf7a6944c3d1bb17fd6972ea035b6a27c.tar.gz |
license.bbclass: Variable standardization
The variable mentioned in license.conf is LICENSE_PATH. The variable
used in license.bbclass is LICENSE_DIR. Conforming to what is in
license.conf
(From OE-Core rev: c6e13d9cd26d016ab06e7447b307d413e1331aa0)
Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/license.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index ffcaf93c53..ad543f6188 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -186,7 +186,7 @@ python do_populate_lic() { | |||
186 | license_source_dirs = [] | 186 | license_source_dirs = [] |
187 | license_source_dirs.append(generic_directory) | 187 | license_source_dirs.append(generic_directory) |
188 | try: | 188 | try: |
189 | additional_lic_dirs = d.getVar('LICENSE_DIR', True).split() | 189 | additional_lic_dirs = d.getVar('LICENSE_PATH', True).split() |
190 | for lic_dir in additional_lic_dirs: | 190 | for lic_dir in additional_lic_dirs: |
191 | license_source_dirs.append(lic_dir) | 191 | license_source_dirs.append(lic_dir) |
192 | except: | 192 | except: |