summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/sdcc/.mtn2git_empty0
-rw-r--r--packages/sdcc/sdcc-native_2.5.0.bb10
-rw-r--r--packages/sdcc/sdcc_2.5.0.bb18
3 files changed, 28 insertions, 0 deletions
diff --git a/packages/sdcc/.mtn2git_empty b/packages/sdcc/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/sdcc/.mtn2git_empty
diff --git a/packages/sdcc/sdcc-native_2.5.0.bb b/packages/sdcc/sdcc-native_2.5.0.bb
new file mode 100644
index 0000000000..2a05d5e628
--- /dev/null
+++ b/packages/sdcc/sdcc-native_2.5.0.bb
@@ -0,0 +1,10 @@
+include sdcc_${PV}.bb
+
+inherit native
+
+# yes, we usually don't want to do this in order to prevent staging pollution,
+# however sdcc behaves pretty nice here, so we can do an exception here (ML).
+do_stage() {
+ oe_runmake install
+}
+
diff --git a/packages/sdcc/sdcc_2.5.0.bb b/packages/sdcc/sdcc_2.5.0.bb
new file mode 100644
index 0000000000..65eaf02d44
--- /dev/null
+++ b/packages/sdcc/sdcc_2.5.0.bb
@@ -0,0 +1,18 @@
+DESCRIPTION= "SDCC - Small Device C Compiler"
+LICENSE = "GPL"
+SECTION = "devel"
+HOMEPAGE = "http://sdcc.sourceforge.net"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-${PV}.tar.gz"
+S = "${WORKDIR}/sdcc"
+
+PARALLEL_MAKE = ""
+
+inherit autotools
+
+do_configure() {
+ gnu-configize
+ oe_runconf
+}
+