summaryrefslogtreecommitdiff
path: root/packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-25 23:36:40 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-25 23:36:40 +0000
commitb7331fb918e850f33cc0082b2c22c457489f1ad4 (patch)
tree25bbe5639715fc17bbf1c068db4d6c109d1353dd /packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb
parent438e4e3b4e48c01d2fb4d9b8901c06ee30951a94 (diff)
add glue package for a sharprom toolchain in usage w/ DISTRO=sharprom-compatible
Diffstat (limited to 'packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb')
-rw-r--r--packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb b/packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb
new file mode 100644
index 0000000000..e60180e6d8
--- /dev/null
+++ b/packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Precompiled SharpROM toolchain glue package"
+LICENSE = "GPL"
+SECTION = "base"
+# This needs to be extracted to /usr/local/arm :
+# SRC_URI = "http://handhelds.org/download/projects/toolchain/archive/cross-2.95.3.tar.bz2"
+
+inherit native
+DEPENDS = ""
+
+COMPATIBLE_HOST = 'i.86.*-linux'
+
+do_stage() {
+ if [ ! -e /usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 ]
+ then
+ die "You need to install the Sharp Toolchain to /usr/local/arm and rename the compiler to arm-linux-gcc-2.95"
+ fi
+ if [ ! -e /usr/local/arm/2.95.3/bin/arm-linux-ld-2.11.2 ]
+ then
+ die "You need to install the Sharp Toolchain to /usr/local/arm and rename the linker to arm-linux-ld-2.11.2"
+ fi
+ ln -sf /usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 ${STAGING_BINDIR}/arm-linux-gcc
+ ln -sf /usr/local/arm/2.95.3/bin/arm-linux-ld-2.11.2 ${STAGING_BINDIR}/arm-linux-ld
+}
+