summaryrefslogtreecommitdiff
path: root/recipes/klibc/klcc-cross_1.5.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/klibc/klcc-cross_1.5.20.bb')
-rw-r--r--recipes/klibc/klcc-cross_1.5.20.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/klibc/klcc-cross_1.5.20.bb b/recipes/klibc/klcc-cross_1.5.20.bb
new file mode 100644
index 0000000000..2eeacecb36
--- /dev/null
+++ b/recipes/klibc/klcc-cross_1.5.20.bb
@@ -0,0 +1,19 @@
+PR = "${INC_PR}.0"
+
+require klibc.inc
+require klibc-checksums_${PV}.inc
+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} = "${D}${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}klcc"