diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc-initial.inc')
-rw-r--r-- | meta/recipes-core/glibc/glibc-initial.inc | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc deleted file mode 100644 index acd0d6b1dc..0000000000 --- a/meta/recipes-core/glibc/glibc-initial.inc +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial libgcc-initial make-native bison-native" | ||
2 | PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | ||
3 | |||
4 | PACKAGES = "" | ||
5 | PACKAGES_DYNAMIC = "" | ||
6 | |||
7 | STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" | ||
8 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${SDK_SYS}" | ||
9 | |||
10 | do_configure () { | ||
11 | (cd ${S} && gnu-configize) || die "failure in running gnu-configize" | ||
12 | find ${S} -name "configure" | xargs touch | ||
13 | cfgscript=`python3 -c "import os; print(os.path.relpath('${S}', '.'))"`/configure | ||
14 | $cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \ | ||
15 | --prefix=/usr \ | ||
16 | --disable-sanity-checks \ | ||
17 | --with-headers=${STAGING_DIR_TARGET}${includedir} \ | ||
18 | --enable-hacker-mode | ||
19 | } | ||
20 | |||
21 | do_compile () { | ||
22 | : | ||
23 | } | ||
24 | |||
25 | do_install () { | ||
26 | oe_runmake cross-compiling=yes install_root=${D} \ | ||
27 | includedir='${includedir}' prefix='${prefix}' \ | ||
28 | install-bootstrap-headers=yes install-headers | ||
29 | |||
30 | oe_runmake csu/subdir_lib | ||
31 | mkdir -p ${D}${libdir}/ | ||
32 | install -m 644 csu/crt[1in].o ${D}${libdir} | ||
33 | |||
34 | # Two headers -- stubs.h and features.h -- aren't installed by install-headers, | ||
35 | # so do them by hand. We can tolerate an empty stubs.h for the moment. | ||
36 | # See e.g. http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html | ||
37 | mkdir -p ${D}${includedir}/gnu/ | ||
38 | touch ${D}${includedir}/gnu/stubs.h | ||
39 | cp ${S}/include/features.h ${D}${includedir}/features.h | ||
40 | |||
41 | if [ -e ${B}/bits/stdio_lim.h ]; then | ||
42 | cp ${B}/bits/stdio_lim.h ${D}${includedir}/bits/ | ||
43 | fi | ||
44 | } | ||
45 | |||
46 | do_stash_locale() { | ||
47 | : | ||
48 | } | ||
49 | |||
50 | do_siteconfig () { | ||
51 | : | ||
52 | } | ||
53 | |||
54 | inherit nopackages | ||
55 | |||
56 | # We really only want this built by things that need it, not any recrdeptask | ||
57 | deltask do_build | ||