diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc-initial.inc')
-rw-r--r-- | meta/recipes-core/glibc/glibc-initial.inc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc index 2e3bc8104a..7380bdbcac 100644 --- a/meta/recipes-core/glibc/glibc-initial.inc +++ b/meta/recipes-core/glibc/glibc-initial.inc | |||
@@ -6,7 +6,6 @@ PACKAGES_DYNAMIC = "" | |||
6 | 6 | ||
7 | STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" | 7 | STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" |
8 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${SDK_SYS}" | 8 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${SDK_SYS}" |
9 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" | ||
10 | 9 | ||
11 | do_configure () { | 10 | do_configure () { |
12 | (cd ${S} && gnu-configize) || die "failure in running gnu-configize" | 11 | (cd ${S} && gnu-configize) || die "failure in running gnu-configize" |
@@ -42,10 +41,6 @@ do_install () { | |||
42 | if [ -e ${B}/bits/stdio_lim.h ]; then | 41 | if [ -e ${B}/bits/stdio_lim.h ]; then |
43 | cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/ | 42 | cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/ |
44 | fi | 43 | fi |
45 | # add links to linux-libc-headers: final glibc build need this. | ||
46 | for t in linux asm asm-generic; do | ||
47 | ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/ | ||
48 | done | ||
49 | } | 44 | } |
50 | 45 | ||
51 | do_install_locale() { | 46 | do_install_locale() { |
@@ -56,20 +51,6 @@ do_siteconfig () { | |||
56 | : | 51 | : |
57 | } | 52 | } |
58 | 53 | ||
59 | SSTATEPOSTINSTFUNCS += "glibcinitial_sstate_postinst" | ||
60 | glibcinitial_sstate_postinst() { | ||
61 | if [ "${BB_CURRENTTASK}" = "populate_sysroot" -o "${BB_CURRENTTASK}" = "populate_sysroot_setscene" ] | ||
62 | then | ||
63 | # Recreate the symlinks to ensure they point to the correct location | ||
64 | for t in linux asm asm-generic; do | ||
65 | rm -f ${STAGING_DIR_TCBOOTSTRAP}${includedir}/$t | ||
66 | ln -s ${STAGING_DIR_TARGET}${includedir}/$t ${STAGING_DIR_TCBOOTSTRAP}${includedir}/ | ||
67 | done | ||
68 | fi | ||
69 | } | ||
70 | |||
71 | do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}/" | ||
72 | |||
73 | # We don't install any scripts so there is nothing to evacuate | 54 | # We don't install any scripts so there is nothing to evacuate |
74 | do_evacuate_scripts () { | 55 | do_evacuate_scripts () { |
75 | : | 56 | : |