summaryrefslogtreecommitdiff
path: root/packages/sdcc/sdcc-native_2.5.0.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-10-19 21:33:36 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-10-19 21:33:36 +0000
commit005277d0efac2a2fbac100097e70c25702dc640b (patch)
treec11552031a7e1154723fdd944dcd1ceb416b35f9 /packages/sdcc/sdcc-native_2.5.0.bb
parentb5a18ffe5f72403f20603eba24bec52f9c7c5e33 (diff)
sdcc: add native-tools patch to make it build
Diffstat (limited to 'packages/sdcc/sdcc-native_2.5.0.bb')
-rw-r--r--packages/sdcc/sdcc-native_2.5.0.bb13
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/sdcc/sdcc-native_2.5.0.bb b/packages/sdcc/sdcc-native_2.5.0.bb
index 85c3d5b0fd..6f6c3c1710 100644
--- a/packages/sdcc/sdcc-native_2.5.0.bb
+++ b/packages/sdcc/sdcc-native_2.5.0.bb
@@ -1,10 +1,15 @@
require sdcc_${PV}.bb
-
inherit native
+DEPENDS = ""
+
+# don't need native-tools patch here
+SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-${PV}.tar.gz \
+ file://gcc4.patch;patch=1"
-# 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
+ autotools_stage_all
+ for i in bin/as-*; do
+ install -m 0755 $i ${STAGING_BINDIR}
+ done
}