mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
858 B
BlitzBasic
34 lines
858 B
BlitzBasic
require newlib.inc
|
|
|
|
DEPENDS += "newlib"
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/libgloss:"
|
|
|
|
SRC_URI:append:powerpc = " file://fix-rs6000-crt0.patch"
|
|
SRC_URI:append:arm = " file://fix_makefile_include_arm_h.patch"
|
|
|
|
do_configure() {
|
|
${S}/libgloss/configure ${EXTRA_OECONF}
|
|
}
|
|
|
|
do_install:prepend() {
|
|
# install doesn't create this itself, avoid install error
|
|
install -d ${D}${prefix}/${TARGET_SYS}/lib
|
|
}
|
|
|
|
do_install:append() {
|
|
# Move libs to default directories so they can be picked up later
|
|
install -d ${D}${libdir}
|
|
mv -v ${D}${prefix}/${TARGET_SYS}/lib/* ${D}${libdir}
|
|
|
|
# Remove original directory
|
|
rmdir -p --ignore-fail-on-non-empty ${D}${prefix}/${TARGET_SYS}/lib
|
|
}
|
|
|
|
# Split packages correctly
|
|
FILES:${PN} += "${libdir}/*.ld ${libdir}/*.specs"
|
|
FILES:${PN}-dev += "${libdir}/cpu-init/*"
|
|
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|