mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 17:59:26 +00:00
48be1406a0
In addition to stock OE uclibc it has more Add argp support Add x86_64 arch support Only NPTL is supported for threading Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 lines
879 B
BlitzBasic
34 lines
879 B
BlitzBasic
SECTION = "base"
|
|
require uclibc_git.bb
|
|
|
|
DEPENDS = "linux-libc-headers ncurses-native virtual/${TARGET_PREFIX}gcc-initial"
|
|
PROVIDES = "virtual/${TARGET_PREFIX}libc-initial"
|
|
|
|
PACKAGES = ""
|
|
PACKAGES_DYNAMIC = ""
|
|
|
|
STAGINGCC = "gcc-cross-initial"
|
|
STAGINGCC_virtclass-nativesdk = "gcc-crosssdk-initial"
|
|
|
|
do_install() {
|
|
# Install initial headers into the cross dir
|
|
make PREFIX=${D} DEVEL_PREFIX=${prefix}/ RUNTIME_PREFIX=/ \
|
|
install_headers install_startfiles
|
|
${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
|
|
-o lib/libc.so
|
|
${CC} -nostdlib -nostartfiles -shared -x c /dev/null \
|
|
-o lib/libm.so
|
|
install -d ${D}${libdir}
|
|
install -m 755 lib/lib[cm].so ${D}${libdir}
|
|
# add links to linux-libc-headers: gcc-{cross,crossdk}-intermediate need this.
|
|
}
|
|
do_compile() {
|
|
:
|
|
}
|
|
|
|
do_siteconfig () {
|
|
:
|
|
}
|
|
|
|
do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}"
|