summaryrefslogtreecommitdiff
path: root/packages/sdcc/sdcc_2.5.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sdcc/sdcc_2.5.0.bb')
-rw-r--r--packages/sdcc/sdcc_2.5.0.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/sdcc/sdcc_2.5.0.bb b/packages/sdcc/sdcc_2.5.0.bb
index 65eaf02d44..3347fb9f6e 100644
--- a/packages/sdcc/sdcc_2.5.0.bb
+++ b/packages/sdcc/sdcc_2.5.0.bb
@@ -2,9 +2,12 @@ DESCRIPTION= "SDCC - Small Device C Compiler"
LICENSE = "GPL"
SECTION = "devel"
HOMEPAGE = "http://sdcc.sourceforge.net"
-PR = "r0"
+DEPENDS = "sdcc-native"
+PR = "r1"
-SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-${PV}.tar.gz \
+ file://gcc4.patch;patch=1 \
+ file://use-native-tools.patch;patch=1"
S = "${WORKDIR}/sdcc"
PARALLEL_MAKE = ""