summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-21 14:17:20 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-21 14:17:20 +0000
commit38d0eb00876775afecaf669d3253e89011b3dfd4 (patch)
tree269188881681ed9dc9f1cd5d25196fa123a13948 /packages
parente445bbb501bc1eb0725dfb65d73c4438f1991f2e (diff)
add sdcc - small systems compiler collection
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
+}
+