summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.2.bb
blob: 0c187d2a3e20af8e9db47711a3ddafd4c7b6bb6d (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
}