diff options
-rw-r--r-- | meta/classes/native.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/staging.bbclass | 6 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 3 | ||||
-rw-r--r-- | meta/lib/oeqa/selftest/devtool.py | 2 | ||||
-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 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-initial.inc | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.14.bb | 4 |
12 files changed, 18 insertions, 17 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index aec1087af5..b8f839a8b2 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -95,7 +95,7 @@ libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | |||
95 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 95 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
96 | 96 | ||
97 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/" | 97 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}/" |
98 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/${PN}" | 98 | do_populate_sysroot[sstate-outputdirs] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}" |
99 | 99 | ||
100 | # Since we actually install these into situ there is no staging prefix | 100 | # Since we actually install these into situ there is no staging prefix |
101 | STAGING_DIR_HOST = "" | 101 | STAGING_DIR_HOST = "" |
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 4015dd754c..31cd625640 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -201,8 +201,8 @@ do_populate_sysroot[depends] += "${POPULATESYSROOTDEPS}" | |||
201 | SSTATETASKS += "do_populate_sysroot" | 201 | SSTATETASKS += "do_populate_sysroot" |
202 | do_populate_sysroot[cleandirs] = "${SYSROOT_DESTDIR}" | 202 | do_populate_sysroot[cleandirs] = "${SYSROOT_DESTDIR}" |
203 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}" | 203 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}" |
204 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/${PN}" | 204 | do_populate_sysroot[sstate-outputdirs] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}" |
205 | do_populate_sysroot[sstate-fixmedir] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/${PN}" | 205 | do_populate_sysroot[sstate-fixmedir] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}" |
206 | 206 | ||
207 | python do_populate_sysroot_setscene () { | 207 | python do_populate_sysroot_setscene () { |
208 | sstate_setscene(d) | 208 | sstate_setscene(d) |
@@ -442,7 +442,7 @@ python extend_recipe_sysroot() { | |||
442 | bb.note("\n".join(msgbuf)) | 442 | bb.note("\n".join(msgbuf)) |
443 | 443 | ||
444 | stagingdir = d.getVar("STAGING_DIR") | 444 | stagingdir = d.getVar("STAGING_DIR") |
445 | sharedmanifests = stagingdir + "-components/manifests" | 445 | sharedmanifests = d.getVar("COMPONENTS_DIR") + "/manifests" |
446 | recipesysroot = d.getVar("RECIPE_SYSROOT") | 446 | recipesysroot = d.getVar("RECIPE_SYSROOT") |
447 | recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE") | 447 | recipesysrootnative = d.getVar("RECIPE_SYSROOT_NATIVE") |
448 | current_variant = d.getVar("BBEXTENDVARIANT") | 448 | current_variant = d.getVar("BBEXTENDVARIANT") |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a24be0551d..2dd2bb1640 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -351,6 +351,7 @@ S = "${WORKDIR}/${BP}" | |||
351 | B = "${S}" | 351 | B = "${S}" |
352 | 352 | ||
353 | STAGING_DIR = "${TMPDIR}/sysroots" | 353 | STAGING_DIR = "${TMPDIR}/sysroots" |
354 | COMPONENTS_DIR = "${STAGING_DIR}-components" | ||
354 | RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot" | 355 | RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot" |
355 | RECIPE_SYSROOT_NATIVE = "${WORKDIR}/recipe-sysroot-native" | 356 | RECIPE_SYSROOT_NATIVE = "${WORKDIR}/recipe-sysroot-native" |
356 | 357 | ||
@@ -655,7 +656,7 @@ SRC_URI = "" | |||
655 | # Use pseudo as the fakeroot implementation | 656 | # Use pseudo as the fakeroot implementation |
656 | PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" | 657 | PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" |
657 | PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${PSEUDO_SYSROOT}" | 658 | PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${PSEUDO_SYSROOT}" |
658 | PSEUDO_SYSROOT = "${STAGING_DIR}-components/${BUILD_ARCH}/pseudo-native" | 659 | PSEUDO_SYSROOT = "${COMPONENTS_DIR}/${BUILD_ARCH}/pseudo-native" |
659 | export PSEUDO_DISABLED = "1" | 660 | export PSEUDO_DISABLED = "1" |
660 | #export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}" | 661 | #export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}" |
661 | #export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}" | 662 | #export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}" |
diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py index 8e7642c32b..57048665c0 100644 --- a/meta/lib/oeqa/selftest/devtool.py +++ b/meta/lib/oeqa/selftest/devtool.py | |||
@@ -294,7 +294,7 @@ class DevtoolTests(DevtoolBase): | |||
294 | f.write('\nFILES_${PN}-dev += "${datadir}/cmake/Modules"\n') | 294 | f.write('\nFILES_${PN}-dev += "${datadir}/cmake/Modules"\n') |
295 | # We don't have the ability to pick up this dependency automatically yet... | 295 | # We don't have the ability to pick up this dependency automatically yet... |
296 | f.write('\nDEPENDS += "libusb1"\n') | 296 | f.write('\nDEPENDS += "libusb1"\n') |
297 | f.write('\nTESTLIBOUTPUT = "${STAGING_DIR}-components/${TUNE_PKGARCH}/${PN}/${libdir}"\n') | 297 | f.write('\nTESTLIBOUTPUT = "${COMPONENTS_DIR}/${TUNE_PKGARCH}/${PN}/${libdir}"\n') |
298 | # Test devtool build | 298 | # Test devtool build |
299 | result = runCmd('devtool build libftdi') | 299 | result = runCmd('devtool build libftdi') |
300 | bb_vars = get_bb_vars(['TESTLIBOUTPUT', 'STAMP'], 'libftdi') | 300 | bb_vars = get_bb_vars(['TESTLIBOUTPUT', 'STAMP'], 'libftdi') |
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 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 74578d94ff..18dc3a6ca6 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -13,7 +13,7 @@ COMPILERDEP = "virtual/${MLPREFIX}${TARGET_PREFIX}gcc${COMPILERINITIAL}:do_gcc_s | |||
13 | COMPILERDEP_class-nativesdk = "virtual/${TARGET_PREFIX}gcc${COMPILERINITIAL}-crosssdk:do_gcc_stash_builddir" | 13 | COMPILERDEP_class-nativesdk = "virtual/${TARGET_PREFIX}gcc${COMPILERINITIAL}-crosssdk:do_gcc_stash_builddir" |
14 | 14 | ||
15 | python extract_stashed_builddir () { | 15 | python extract_stashed_builddir () { |
16 | src = d.expand("${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}") | 16 | src = d.expand("${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}") |
17 | dest = d.getVar("B") | 17 | dest = d.getVar("B") |
18 | oe.path.copyhardlinktree(src, dest) | 18 | oe.path.copyhardlinktree(src, dest) |
19 | staging_processfixme([src + "/fixmepath"], dest, dest, dest, d) | 19 | staging_processfixme([src + "/fixmepath"], dest, dest, dest, d) |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index d440d88e53..9502c2b1ab 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc | |||
@@ -77,7 +77,7 @@ sysroot_stage_all() { | |||
77 | } | 77 | } |
78 | 78 | ||
79 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST}/" | 79 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST}/" |
80 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/${PN}" | 80 | do_populate_sysroot[sstate-outputdirs] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}" |
81 | 81 | ||
82 | inherit nopackages | 82 | inherit nopackages |
83 | 83 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index c5c1645f69..45985c3847 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
@@ -206,8 +206,8 @@ do_gcc_stash_builddir () { | |||
206 | addtask do_gcc_stash_builddir after do_compile before do_install | 206 | addtask do_gcc_stash_builddir after do_compile before do_install |
207 | SSTATETASKS += "do_gcc_stash_builddir" | 207 | SSTATETASKS += "do_gcc_stash_builddir" |
208 | do_gcc_stash_builddir[sstate-inputdirs] = "${BUILDDIRSTASH}" | 208 | do_gcc_stash_builddir[sstate-inputdirs] = "${BUILDDIRSTASH}" |
209 | do_gcc_stash_builddir[sstate-outputdirs] = "${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}" | 209 | do_gcc_stash_builddir[sstate-outputdirs] = "${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}" |
210 | do_gcc_stash_builddir[sstate-fixmedir] = "${STAGING_DIR}-components/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}" | 210 | do_gcc_stash_builddir[sstate-fixmedir] = "${COMPONENTS_DIR}/${BUILD_ARCH}/gcc-stashed-builddir${COMPILERINITIAL}-${TARGET_SYS}" |
211 | 211 | ||
212 | python do_gcc_stash_builddir_setscene () { | 212 | python do_gcc_stash_builddir_setscene () { |
213 | sstate_setscene(d) | 213 | sstate_setscene(d) |
diff --git a/meta/recipes-devtools/guile/guile_2.0.14.bb b/meta/recipes-devtools/guile/guile_2.0.14.bb index 7a36ba0c3b..7a01d0ffc9 100644 --- a/meta/recipes-devtools/guile/guile_2.0.14.bb +++ b/meta/recipes-devtools/guile/guile_2.0.14.bb | |||
@@ -111,8 +111,8 @@ guile_cross_config() { | |||
111 | # auto-compile into the prefix even if it can write there, so touch them here as | 111 | # auto-compile into the prefix even if it can write there, so touch them here as |
112 | # sysroot is managed. | 112 | # sysroot is managed. |
113 | SSTATEPOSTINSTFUNCS += "guile_sstate_postinst" | 113 | SSTATEPOSTINSTFUNCS += "guile_sstate_postinst" |
114 | GUILESSTATEDIR = "${STAGING_DIR}-components/${TUNE_PKGARCH}/${PN}/${libdir}/guile/2.0/ccache" | 114 | GUILESSTATEDIR = "${COMPONENTS_DIR}/${TUNE_PKGARCH}/${PN}/${libdir}/guile/2.0/ccache" |
115 | GUILESSTATEDIR_class-native = "${STAGING_DIR}-components/${BUILD_ARCH}/${PN}/${libdir_native}/guile/2.0/ccache" | 115 | GUILESSTATEDIR_class-native = "${COMPONENTS_DIR}/${BUILD_ARCH}/${PN}/${libdir_native}/guile/2.0/ccache" |
116 | guile_sstate_postinst() { | 116 | guile_sstate_postinst() { |
117 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | 117 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] |
118 | then | 118 | then |