summaryrefslogtreecommitdiff
path: root/recipes/meta/external-toolchain-csl.bb
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2010-07-26 17:01:22 -0400
committerDenys Dmytriyenko <denis@denix.org>2010-07-29 12:56:50 -0400
commitd8a6e4a9f6aa93a0248f017046aa8b9b39219773 (patch)
tree55b4e488735d8fe33f246482eaeec73c946bacd9 /recipes/meta/external-toolchain-csl.bb
parentb1a73fa466b6351f1ec038a98d9692a14c49dc89 (diff)
external-toolchain-csl: fix the license for -dev packages
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Diffstat (limited to 'recipes/meta/external-toolchain-csl.bb')
-rw-r--r--recipes/meta/external-toolchain-csl.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes/meta/external-toolchain-csl.bb b/recipes/meta/external-toolchain-csl.bb
index 7cbfe0ac19..18780e6307 100644
--- a/recipes/meta/external-toolchain-csl.bb
+++ b/recipes/meta/external-toolchain-csl.bb
@@ -1,4 +1,4 @@
-PR = "r5"
+PR = "r6"
INHIBIT_DEFAULT_DEPS = "1"
@@ -165,6 +165,7 @@ CSL_VER_MAIN := "${@csl_get_main_version(d)}"
CSL_VER_GCC := "${@csl_get_gcc_version(d)}"
CSL_VER_LIBC := "${@csl_get_libc_version(d)}"
CSL_VER_KERNEL := "${@csl_get_kernel_version(d)}"
+CSL_LIC_RLE := "${@["GPLv3 with GCC RLE", "GPLv2 with GCC RLE"][csl_get_main_version(d) <= "2009q1-203"]}"
PKGV = ${CSL_VER_MAIN}
PKGV_libgcc = ${CSL_VER_GCC}
@@ -191,8 +192,10 @@ PKGV_linux-libc-headers = ${CSL_VER_KERNEL}
LICENSE_ldd = "LGPLv2.1+"
LICENSE_glibc = "LGPLv2.1+"
LICENSE_glibc-thread-db = "LGPLv2.1+"
-LICENSE_libgcc := "${@["GPLv3 with GCC RLE", "GPLv2 with GCC RLE"][csl_get_main_version(d) <= "2009q1-203"]}"
-LICENSE_libstdc++ := "${@["GPLv3 with GCC RLE", "GPLv2 with GCC RLE"][csl_get_main_version(d) <= "2009q1-203"]}"
+LICENSE_libgcc = ${CSL_LIC_RLE}
+LICENSE_libgcc-dev = ${CSL_LIC_RLE}
+LICENSE_libstdc++ = ${CSL_LIC_RLE}
+LICENSE_libstdc++-dev = ${CSL_LIC_RLE}
do_install() {
install -d ${D}${sysconfdir}