summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.3.bb
blob: 40a65fd562d1045837c3592f3df82bf7e519f29a (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
28
29
30
require klibc.inc
SUMMARY = "The klcc crosscompiler for klibc"

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

DEPENDS = "klibc"

FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:"

inherit cross

do_compile() {
    oe_runmake 'INSTALLDIR=${STAGING_DIR_TARGET}${target_libdir}/klibc' klcc
}

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

# disable task already run in klibc recipe
do_configure[noexec] = "1"

# disable unneeded tasks
do_package[noexec] = "1"
do_packagedata[noexec] = "1"
do_package_write_ipk[noexec] = "1"
do_package_write_rpm[noexec] = "1"
do_package_write_deb[noexec] = "1"
do_package_write_tar[noexec] = "1"