diff options
-rw-r--r-- | conf/distro/sharprom-compatible.conf | 4 | ||||
-rw-r--r-- | packages/sharprom-toolchain/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/sharprom-toolchain/sharprom-toolchain-native_1.0.bb | 24 |
3 files changed, 25 insertions, 3 deletions
diff --git a/conf/distro/sharprom-compatible.conf b/conf/distro/sharprom-compatible.conf index 6474b7695d..bf07d6b1f0 100644 --- a/conf/distro/sharprom-compatible.conf +++ b/conf/distro/sharprom-compatible.conf @@ -20,8 +20,6 @@ DISTRO_VERSION = "3.1 compatible" DISTRO_TYPE = "debug" # DISTRO_TYPE = "release" -CVSDATE = "20050221" - # # Zaurus # @@ -41,7 +39,7 @@ ASSUME_PROVIDED += "virtual/arm-linux-libc-for-gcc virtual/arm-linux-binutils vi ASSUME_PROVIDED += "virtual/arm-linux-gcc-initial virtual/arm-linux-gcc-initial ASSUME_PROVIDED += "virtual/libc linux-libc-headers" -DEPENDS_autoconf-native =+ "sharprom-toolchain" +DEPENDS =+ "sharprom-toolchain-native" IPKGBUILDCMD = "ipkg-build -c -o 0 -g 0" diff --git a/packages/sharprom-toolchain/.mtn2git_empty b/packages/sharprom-toolchain/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/sharprom-toolchain/.mtn2git_empty 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 +} + |