aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.2.bb
blob: 56456f7a8238ab4d2f63fe45809d4a939e7d3cf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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}:"

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
}