mirror of
https://git.yoctoproject.org/poky
synced 2026-03-09 16:59:40 +01:00
(From OE-Core rev: 668445252fa96bd00ecdef1f610707a132eb35fc) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
21 lines
571 B
BlitzBasic
21 lines
571 B
BlitzBasic
require newlib.inc
|
|
|
|
PROVIDES += "virtual/libc virtual/libiconv virtual/libintl"
|
|
|
|
do_configure() {
|
|
export CC_FOR_TARGET="${CC}"
|
|
${S}/configure ${EXTRA_OECONF}
|
|
}
|
|
|
|
do_install:append() {
|
|
# Move include files and libs to default directories so they can be picked up later
|
|
mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir}
|
|
mv -v ${D}${prefix}/${TARGET_SYS}/include ${D}${includedir}
|
|
|
|
# Remove original directory
|
|
rmdir ${D}${prefix}/${TARGET_SYS}
|
|
}
|
|
|
|
# No rpm package is actually created but -dev depends on it, avoid dnf error
|
|
RDEPENDS:${PN}-dev:libc-newlib = ""
|