--- /dev/null
+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
+}
+
--- /dev/null
+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
+}
+