aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/klibc/klcc-cross_1.5.21.bb
blob: cecee2420accdf58fa7c7df5a57e1b0200af0a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PR = "${INC_PR}.0"

require klibc.inc
require klibc-checksums_${PV}.inc

SRC_URI += "file://klcc_prefix.patch \
            file://use-env-for-perl.patch"

DEPENDS = "klibc"

FILESPATHPKG =. "klibc-${PV}:"

export KLCC_INST=${STAGING_DIR_TARGET}/lib/klibc

inherit cross

do_install() {
         install -d ${D}${TOOLCHAIN_PATH}/bin/
         install -m 0755 klcc/klcc ${D}${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}klcc
}

PACKAGES = "${PN}"
FILES_${PN} = "${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}klcc"