Files
meta-openembedded/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.26.bb
Andrea Adami 2490c44e51 klibc_1.5.26: now build against linux-libc-headers
* add install-patch creating symlinks as done by debian
* extra add the mtd headers
* refresh patches (split out prefix.patch)
* recipe is now not machine-specific anymore
* bump INC_PR

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-05-14 16:02:01 +02:00

33 lines
593 B
BlitzBasic

PR = "${INC_PR}.0"
require klibc.inc
export KLCC_INST = "${STAGING_DIR_TARGET}/lib/klibc"
SRC_URI += "file://klcc_prefix.patch \
file://use-env-for-perl.patch"
DEPENDS = "klibc"
FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:"
# ${TARGET_PREFIX}klcc is just a
# perl wrapper around gcc-cross
# so give it the same arch and path
#PACKAGE_ARCH = "${TUNE_PKGARCH}"
inherit cross
do_configure () {
:
}
do_compile() {
oe_runmake klcc
}
do_install() {
install -d ${D}${base_bindir}
install -m 0755 klcc/klcc ${D}${base_bindir}/${TARGET_PREFIX}klcc
}