summaryrefslogtreecommitdiff
path: root/packages/sdcc
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2005-07-22 09:40:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-22 09:40:50 +0000
commit85c8842ef4de45230165b92b9bd70100594927e5 (patch)
tree6e960f373f1080012efb6fcff8cbaffc30276ee7 /packages/sdcc
parentdcf243861b11b8ed8264a622ce98b1dcd8c7d837 (diff)
parentf98a7c864e7637132fb52acb596d667bc77384ea (diff)
merge of 141bf23dcf6e128a2155bf385cf3dc153be58cbb
and e2b4fef7a158b3669ddc135bad1d8b23c7a59015
Diffstat (limited to 'packages/sdcc')
-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
+}
+