mirror of
https://git.yoctoproject.org/poky
synced 2026-05-21 14:27:57 +02:00
Do not build fake shared libraries during uclibc-initial phase Let uclibc depend on gcc-cross-initial instead of gcc-cross-intermediate thereby set stage to remove gcc-cross-intermediate Let uclibc depend on uclibc-initial so that boostrap sysroot gets populated properly (From OE-Core rev: b954c2d7cd978adc059d672425c197eaaf57e852) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
933 B
BlitzBasic
37 lines
933 B
BlitzBasic
SECTION = "base"
|
|
require uclibc.inc
|
|
require uclibc-git.inc
|
|
|
|
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
|
|
|
|
# add links to linux-libc-headers: final uclibc build need this.
|
|
for t in linux asm asm-generic; do
|
|
if [ -d ${D}${includedir}/$t ]; then
|
|
rm -rf ${D}${includedir}/$t
|
|
fi
|
|
ln -sf ${STAGING_DIR_TARGET}${includedir}/$t ${D}${includedir}/
|
|
done
|
|
|
|
}
|
|
do_compile() {
|
|
:
|
|
}
|
|
|
|
do_siteconfig () {
|
|
:
|
|
}
|
|
|
|
do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}"
|