diff options
Diffstat (limited to 'meta/recipes-devtools')
7 files changed, 18 insertions, 35 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb index 2f13dba52c..05a04d8df5 100644 --- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb +++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb | |||
@@ -27,9 +27,6 @@ S="${WORKDIR}/docbook-xml-4.5.c31424" | |||
27 | inherit allarch | 27 | inherit allarch |
28 | BBCLASSEXTEND = "native" | 28 | BBCLASSEXTEND = "native" |
29 | 29 | ||
30 | SSTATEPOSTINSTFUNCS_append_class-native = " docbook_xml_dtd_sstate_postinst" | ||
31 | SYSROOT_PREPROCESS_FUNCS_append_class-native = " docbook_xml_dtd_sysroot_preprocess" | ||
32 | |||
33 | do_configre (){ | 30 | do_configre (){ |
34 | : | 31 | : |
35 | } | 32 | } |
@@ -49,18 +46,10 @@ do_install () { | |||
49 | install -m 755 ${WORKDIR}/docbook-xml.xml ${D}${sysconfdir}/xml/docbook-xml.xml | 46 | install -m 755 ${WORKDIR}/docbook-xml.xml ${D}${sysconfdir}/xml/docbook-xml.xml |
50 | } | 47 | } |
51 | 48 | ||
52 | docbook_xml_dtd_sstate_postinst () { | 49 | do_install_append_class-native () { |
53 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | 50 | # Ensure that the catalog file sgml-docbook.cat is properly |
54 | then | 51 | # updated when the package is installed from sstate cache. |
55 | # Ensure that the catalog file sgml-docbook.cat is properly | 52 | sed -i -e "s|file://.*/usr/share/xml|file://${datadir}/xml|g" ${D}${sysconfdir}/xml/docbook-xml.xml |
56 | # updated when the package is installed from sstate cache. | ||
57 | sed -i -e "s|file://.*/usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xml.xml | ||
58 | fi | ||
59 | } | ||
60 | |||
61 | docbook_xml_dtd_sysroot_preprocess () { | ||
62 | # Update the hardcode dir in docbook-xml.xml | ||
63 | sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xml.xml | ||
64 | } | 53 | } |
65 | 54 | ||
66 | FILES_${PN} = "${datadir}/* ${sysconfdir}/xml/docbook-xml.xml" | 55 | FILES_${PN} = "${datadir}/* ${sysconfdir}/xml/docbook-xml.xml" |
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb index aa03a82a2a..07d32ce979 100644 --- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb +++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb | |||
@@ -20,9 +20,6 @@ S = "${WORKDIR}/docbook-xsl-${PV}" | |||
20 | inherit allarch | 20 | inherit allarch |
21 | BBCLASSEXTEND = "native" | 21 | BBCLASSEXTEND = "native" |
22 | 22 | ||
23 | SSTATEPOSTINSTFUNCS_append_class-native = " docbook_xsl_stylesheets_sstate_postinst" | ||
24 | SYSROOT_PREPROCESS_FUNCS_append_class-native = " docbook_xsl_stylesheets_sysroot_preprocess" | ||
25 | |||
26 | do_configure (){ | 23 | do_configure (){ |
27 | : | 24 | : |
28 | } | 25 | } |
@@ -55,18 +52,10 @@ do_install () { | |||
55 | 52 | ||
56 | } | 53 | } |
57 | 54 | ||
58 | docbook_xsl_stylesheets_sstate_postinst () { | 55 | do_install_append_class-native () { |
59 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | 56 | # Ensure that the catalog file sgml-docbook.cat is properly |
60 | then | 57 | # updated when the package is installed from sstate cache. |
61 | # Ensure that the catalog file sgml-docbook.cat is properly | 58 | sed -i -e "s|file://.*/usr/share/xml|file://${datadir}/xml|g" ${D}${sysconfdir}/xml/docbook-xsl.xml |
62 | # updated when the package is installed from sstate cache. | ||
63 | sed -i -e "s|file://.*/usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml | ||
64 | fi | ||
65 | } | ||
66 | |||
67 | docbook_xsl_stylesheets_sysroot_preprocess () { | ||
68 | # Update the hardcode dir in docbook-xml.xml | ||
69 | sed -i -e "s|file:///usr/share/xml|file://${datadir}/xml|g" ${SYSROOT_DESTDIR}${sysconfdir}/xml/docbook-xsl.xml | ||
70 | } | 59 | } |
71 | 60 | ||
72 | RDEPENDS_${PN} += "perl" | 61 | RDEPENDS_${PN} += "perl" |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-initial.inc b/meta/recipes-devtools/gcc/gcc-cross-initial.inc index dcf22710ae..d47f42e4c3 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-initial.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-initial.inc | |||
@@ -47,6 +47,7 @@ do_configure_prepend () { | |||
47 | do_compile () { | 47 | do_compile () { |
48 | oe_runmake all-gcc configure-target-libgcc | 48 | oe_runmake all-gcc configure-target-libgcc |
49 | } | 49 | } |
50 | |||
50 | do_install () { | 51 | do_install () { |
51 | ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h ) | 52 | ( cd ${B}/${TARGET_SYS}/libgcc; oe_runmake 'DESTDIR=${D}' install-unwind_h ) |
52 | oe_runmake 'DESTDIR=${D}' install-gcc | 53 | oe_runmake 'DESTDIR=${D}' install-gcc |
@@ -94,7 +95,7 @@ sysroot_stage_all() { | |||
94 | mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true | 95 | mv ${SYSROOT_DESTDIR}${target_libdir}/* ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${target_libdir}/ || true |
95 | } | 96 | } |
96 | 97 | ||
97 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST}/ ${SYSROOT_DESTDIR}/${STAGING_DIR_TARGET}/${target_base_libdir}/" | 98 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_HOST}/" |
98 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_HOST}/ ${STAGING_DIR_TCBOOTSTRAP}/${target_base_libdir}/" | 99 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}-components/${PACKAGE_ARCH}/${PN}" |
99 | 100 | ||
100 | inherit nopackages | 101 | inherit nopackages |
diff --git a/meta/recipes-devtools/gcc/libgcc-initial.inc b/meta/recipes-devtools/gcc/libgcc-initial.inc index 687a8a0b09..aa32185ec0 100644 --- a/meta/recipes-devtools/gcc/libgcc-initial.inc +++ b/meta/recipes-devtools/gcc/libgcc-initial.inc | |||
@@ -14,6 +14,4 @@ EXTRA_OECONF += "--disable-shared" | |||
14 | 14 | ||
15 | LIBGCCBUILDTREENAME = "gcc-build-internal-initial-" | 15 | LIBGCCBUILDTREENAME = "gcc-build-internal-initial-" |
16 | 16 | ||
17 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}/" | ||
18 | |||
19 | inherit nopackages | 17 | inherit nopackages |
diff --git a/meta/recipes-devtools/guile/guile_2.0.13.bb b/meta/recipes-devtools/guile/guile_2.0.13.bb index dd38b47993..c29e752859 100644 --- a/meta/recipes-devtools/guile/guile_2.0.13.bb +++ b/meta/recipes-devtools/guile/guile_2.0.13.bb | |||
@@ -108,10 +108,12 @@ guile_cross_config() { | |||
108 | # auto-compile into the prefix even if it can write there, so touch them here as | 108 | # auto-compile into the prefix even if it can write there, so touch them here as |
109 | # sysroot is managed. | 109 | # sysroot is managed. |
110 | SSTATEPOSTINSTFUNCS += "guile_sstate_postinst" | 110 | SSTATEPOSTINSTFUNCS += "guile_sstate_postinst" |
111 | GUILESSTATEDIR = "${STAGING_DIR}-components/${TUNE_PKGARCH}/${PN}/${libdir}/guile/2.0/ccache" | ||
112 | GUILESSTATEDIR_class-native = "${STAGING_DIR}-components/${BUILD_ARCH}/${PN}/${libdir_native}/guile/2.0/ccache" | ||
111 | guile_sstate_postinst() { | 113 | guile_sstate_postinst() { |
112 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | 114 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] |
113 | then | 115 | then |
114 | find ${STAGING_DIR_TARGET}/${libdir}/guile/2.0/ccache -type f | xargs touch | 116 | find ${GUILESSTATEDIR} -type f | xargs touch |
115 | fi | 117 | fi |
116 | } | 118 | } |
117 | 119 | ||
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.4.6.bb index 8858f6eef8..06abb05584 100644 --- a/meta/recipes-devtools/libtool/libtool_2.4.6.bb +++ b/meta/recipes-devtools/libtool/libtool_2.4.6.bb | |||
@@ -11,6 +11,8 @@ SYSROOT_DIRS_BLACKLIST += " \ | |||
11 | ${datadir}/libtool/build-aux \ | 11 | ${datadir}/libtool/build-aux \ |
12 | " | 12 | " |
13 | 13 | ||
14 | ACLOCALEXTRAPATH_class-target = "" | ||
15 | |||
14 | do_install_append () { | 16 | do_install_append () { |
15 | sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ | 17 | sed -e 's@--sysroot=${STAGING_DIR_HOST}@@g' \ |
16 | -e 's@${STAGING_DIR_HOST}@@g' \ | 18 | -e 's@${STAGING_DIR_HOST}@@g' \ |
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb index 881942ed80..b86400bd27 100644 --- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb +++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | |||
@@ -3,6 +3,8 @@ LICENSE = "MIT" | |||
3 | 3 | ||
4 | S = "${WORKDIR}" | 4 | S = "${WORKDIR}" |
5 | 5 | ||
6 | DEPENDS += "qemu-native" | ||
7 | |||
6 | inherit qemu | 8 | inherit qemu |
7 | 9 | ||
8 | do_install () { | 10 | do_install () { |