diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-05-03 23:13:38 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-11 16:55:59 +0100 |
| commit | 439bb8cc711799b45a7f14dc8bcb1d524d993ab2 (patch) | |
| tree | bc32469f2430d7ba41aedaba6124956fcd3e4062 /meta/recipes-core/glibc | |
| parent | 3e655f9c7f0f4f778dc9eedd9f7405fc84b4c9ad (diff) | |
| download | poky-439bb8cc711799b45a7f14dc8bcb1d524d993ab2.tar.gz | |
bitbake.conf: Add COMPONENTS_DIR for ${STAGING_DIR}-components
The path to where to install and find the sysroot components is used
in many places. This warrants it to get its own variable.
(From OE-Core rev: 70a84b525470f72339568409daf84845904e4cab)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
| -rw-r--r-- | meta/recipes-core/glibc/glibc-locale.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/glibc-mtrace.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/glibc-package.inc | 4 | ||||
| -rw-r--r-- | meta/recipes-core/glibc/glibc-scripts.inc | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-core/glibc/glibc-locale.inc b/meta/recipes-core/glibc/glibc-locale.inc index 9c99741920..70e2b3a16b 100644 --- a/meta/recipes-core/glibc/glibc-locale.inc +++ b/meta/recipes-core/glibc/glibc-locale.inc | |||
| @@ -66,7 +66,7 @@ DESCRIPTION_localedef = "glibc: compile locale definition files" | |||
| 66 | FILES_${MLPREFIX}glibc-gconv = "${libdir}/gconv/*" | 66 | FILES_${MLPREFIX}glibc-gconv = "${libdir}/gconv/*" |
| 67 | FILES_localedef = "${bindir}/localedef" | 67 | FILES_localedef = "${bindir}/localedef" |
| 68 | 68 | ||
| 69 | LOCALETREESRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale" | 69 | LOCALETREESRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" |
| 70 | 70 | ||
| 71 | do_install () { | 71 | do_install () { |
| 72 | mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} | 72 | mkdir -p ${D}${bindir} ${D}${datadir} ${D}${libdir} |
diff --git a/meta/recipes-core/glibc/glibc-mtrace.inc b/meta/recipes-core/glibc/glibc-mtrace.inc index d3641b39b6..d703c14bdc 100644 --- a/meta/recipes-core/glibc/glibc-mtrace.inc +++ b/meta/recipes-core/glibc/glibc-mtrace.inc | |||
| @@ -5,7 +5,7 @@ DESCRIPTION = "mtrace utility provided by glibc" | |||
| 5 | RDEPENDS_${PN} = "perl" | 5 | RDEPENDS_${PN} = "perl" |
| 6 | RPROVIDES_${PN} = "libc-mtrace" | 6 | RPROVIDES_${PN} = "libc-mtrace" |
| 7 | 7 | ||
| 8 | SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts" | 8 | SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts" |
| 9 | 9 | ||
| 10 | do_install() { | 10 | do_install() { |
| 11 | install -d -m 0755 ${D}${bindir} | 11 | install -d -m 0755 ${D}${bindir} |
diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 2ca56662d5..9f7fa62a37 100644 --- a/meta/recipes-core/glibc/glibc-package.inc +++ b/meta/recipes-core/glibc/glibc-package.inc | |||
| @@ -198,8 +198,8 @@ do_stash_locale[dirs] = "${B}" | |||
| 198 | do_stash_locale[cleandirs] = "${LOCALESTASH}" | 198 | do_stash_locale[cleandirs] = "${LOCALESTASH}" |
| 199 | SSTATETASKS += "do_stash_locale" | 199 | SSTATETASKS += "do_stash_locale" |
| 200 | do_stash_locale[sstate-inputdirs] = "${LOCALESTASH}" | 200 | do_stash_locale[sstate-inputdirs] = "${LOCALESTASH}" |
| 201 | do_stash_locale[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale" | 201 | do_stash_locale[sstate-outputdirs] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" |
| 202 | do_stash_locale[sstate-fixmedir] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale" | 202 | do_stash_locale[sstate-fixmedir] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale" |
| 203 | 203 | ||
| 204 | python do_stash_locale_setscene () { | 204 | python do_stash_locale_setscene () { |
| 205 | sstate_setscene(d) | 205 | sstate_setscene(d) |
diff --git a/meta/recipes-core/glibc/glibc-scripts.inc b/meta/recipes-core/glibc/glibc-scripts.inc index 42616f0760..2a2b41507e 100644 --- a/meta/recipes-core/glibc/glibc-scripts.inc +++ b/meta/recipes-core/glibc/glibc-scripts.inc | |||
| @@ -4,7 +4,7 @@ SUMMARY = "utility scripts provided by glibc" | |||
| 4 | DESCRIPTION = "utility scripts provided by glibc" | 4 | DESCRIPTION = "utility scripts provided by glibc" |
| 5 | RDEPENDS_${PN} = "bash glibc-mtrace" | 5 | RDEPENDS_${PN} = "bash glibc-mtrace" |
| 6 | 6 | ||
| 7 | SRC = "${STAGING_DIR}-components/${PACKAGE_ARCH}/glibc-stash-locale/scripts" | 7 | SRC = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/glibc-stash-locale/scripts" |
| 8 | 8 | ||
| 9 | bashscripts = "sotruss xtrace" | 9 | bashscripts = "sotruss xtrace" |
| 10 | 10 | ||
