diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.26.bb')
| -rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.26.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.26.bb b/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.26.bb new file mode 100644 index 0000000000..ad7c07e8c2 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klcc-cross_1.5.26.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | PR = "${INC_PR}.0" | ||
| 2 | |||
| 3 | require klibc.inc | ||
| 4 | |||
| 5 | export KLCC_INST = "${STAGING_DIR_TARGET}/lib/klibc" | ||
| 6 | |||
| 7 | SRC_URI += "file://klcc_prefix.patch \ | ||
| 8 | file://use-env-for-perl.patch" | ||
| 9 | |||
| 10 | DEPENDS = "klibc" | ||
| 11 | |||
| 12 | FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:" | ||
| 13 | |||
| 14 | # ${TARGET_PREFIX}klcc is just a | ||
| 15 | # perl wrapper around gcc-cross | ||
| 16 | # so give it the same arch and path | ||
| 17 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | ||
| 18 | |||
| 19 | inherit cross | ||
| 20 | |||
| 21 | do_configure () { | ||
| 22 | : | ||
| 23 | } | ||
| 24 | |||
| 25 | do_compile() { | ||
| 26 | oe_runmake klcc | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install() { | ||
| 30 | install -d ${D}${base_bindir} | ||
| 31 | install -m 0755 klcc/klcc ${D}${base_bindir}/${TARGET_PREFIX}klcc | ||
| 32 | } | ||
