diff options
Diffstat (limited to 'packages/sdcc')
-rw-r--r-- | packages/sdcc/files/gcc4.patch | 13 | ||||
-rw-r--r-- | packages/sdcc/files/use-native-tools.patch | 80 | ||||
-rw-r--r-- | packages/sdcc/sdcc-2.8.0/use-native-tools.patch | 129 | ||||
-rw-r--r-- | packages/sdcc/sdcc-native_2.5.0.bb | 16 | ||||
-rw-r--r-- | packages/sdcc/sdcc-native_2.8.0.bb | 16 | ||||
-rw-r--r-- | packages/sdcc/sdcc_2.5.0.bb | 21 | ||||
-rw-r--r-- | packages/sdcc/sdcc_2.8.0.bb | 21 |
7 files changed, 0 insertions, 296 deletions
diff --git a/packages/sdcc/files/gcc4.patch b/packages/sdcc/files/gcc4.patch deleted file mode 100644 index 31eed50df8..0000000000 --- a/packages/sdcc/files/gcc4.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: sdcc/sim/ucsim/cmd.src/newcmdcl.h -=================================================================== ---- sdcc.orig/sim/ucsim/cmd.src/newcmdcl.h -+++ sdcc/sim/ucsim/cmd.src/newcmdcl.h -@@ -124,7 +124,7 @@ public: - cl_console(int portnumber, class cl_app *the_app); - #endif - virtual ~cl_console(void); -- virtual class cl_console *cl_console::clone_for_exec(char *fin); -+ virtual class cl_console *clone_for_exec(char *fin); - virtual int init(void); - - virtual bool accept_last(void); diff --git a/packages/sdcc/files/use-native-tools.patch b/packages/sdcc/files/use-native-tools.patch deleted file mode 100644 index d3b02c4a44..0000000000 --- a/packages/sdcc/files/use-native-tools.patch +++ /dev/null @@ -1,80 +0,0 @@ -Index: sdcc/device/lib/Makefile.in -=================================================================== ---- sdcc.orig/device/lib/Makefile.in -+++ sdcc/device/lib/Makefile.in -@@ -18,8 +18,8 @@ ifndef PORTINCDIR - PORTINCDIR = $(INCDIR)/mcs51 - endif - --CC = $(PRJDIR)/bin/sdcc --CPP = $(PRJDIR)/bin/sdcpp -+CC = sdcc -+CPP = sdcpp - - prefix = @prefix@ - exec_prefix = @exec_prefix@ -Index: sdcc/device/lib/mcs51/Makefile -=================================================================== ---- sdcc.orig/device/lib/mcs51/Makefile -+++ sdcc/device/lib/mcs51/Makefile -@@ -1,8 +1,8 @@ - - TOPDIR = ../../.. - --SAS = $(TOPDIR)/bin/asx8051 --SCC = $(TOPDIR)/bin/sdcc -+SAS = asx8051 -+SCC = sdcc - - OBJ = crtstart.rel crtxinit.rel crtxclear.rel crtclear.rel crtxstack.rel \ - crtpagesfr.rel -Index: sdcc/device/lib/ds390/Makefile -=================================================================== ---- sdcc.orig/device/lib/ds390/Makefile -+++ sdcc/device/lib/ds390/Makefile -@@ -1,4 +1,4 @@ --CC = ../../../bin/sdcc -+CC = sdcc - - #VERBOSE = --verbose - -Index: sdcc/device/lib/ds400/Makefile -=================================================================== ---- sdcc.orig/device/lib/ds400/Makefile -+++ sdcc/device/lib/ds400/Makefile -@@ -1,4 +1,4 @@ --CC = ../../../bin/sdcc -+CC = sdcc - - #VERBOSE = --verbose - -Index: sdcc/device/lib/z80/Makefile -=================================================================== ---- sdcc.orig/device/lib/z80/Makefile -+++ sdcc/device/lib/z80/Makefile -@@ -2,8 +2,8 @@ - - TOPDIR = ../../.. - --SCC = $(TOPDIR)/bin/sdcc -mz80 --SAS = $(TOPDIR)/bin/as-z80 -+SCC = sdcc -mz80 -+SAS = as-z80 - - OBJ = div.o mul.o putchar.o shift.o stubs.o crt0_rle.o heap.o fstubs.o - -Index: sdcc/device/lib/gbz80/Makefile -=================================================================== ---- sdcc.orig/device/lib/gbz80/Makefile -+++ sdcc/device/lib/gbz80/Makefile -@@ -2,8 +2,8 @@ - - TOPDIR = ../../.. - --SCC = $(TOPDIR)/bin/sdcc -mgbz80 --SAS = $(TOPDIR)/bin/as-gbz80 -+SCC = sdcc -mgbz80 -+SAS = as-gbz80 - - OBJ = div.o mul.o putchar.o printf.o shift.o stubs.o crt0_rle.o heap.o fstubs.o - diff --git a/packages/sdcc/sdcc-2.8.0/use-native-tools.patch b/packages/sdcc/sdcc-2.8.0/use-native-tools.patch deleted file mode 100644 index 3572f5ea5a..0000000000 --- a/packages/sdcc/sdcc-2.8.0/use-native-tools.patch +++ /dev/null @@ -1,129 +0,0 @@ -diff -Nurd sdcc.orig/device/lib/Makefile.in sdcc/device/lib/Makefile.in ---- sdcc.orig/device/lib/Makefile.in 2007-06-03 22:38:18.000000000 +0200 -+++ sdcc/device/lib/Makefile.in 2008-04-01 10:05:17.352552206 +0200 -@@ -27,8 +27,8 @@ - PORTINCDIR = $(INCDIR)/mcs51 - endif - --CC = $(top_builddir)/bin/sdcc --CPP = $(top_builddir)/bin/sdcpp -+CC = sdcc -+CPP = sdcpp - - prefix = @prefix@ - exec_prefix = @exec_prefix@ -diff -Nurd sdcc.orig/device/lib/ds390/Makefile.in sdcc/device/lib/ds390/Makefile.in ---- sdcc.orig/device/lib/ds390/Makefile.in 2007-06-03 22:38:18.000000000 +0200 -+++ sdcc/device/lib/ds390/Makefile.in 2008-04-01 10:06:23.287688808 +0200 -@@ -1,7 +1,7 @@ - VPATH = @srcdir@ - srcdir = @srcdir@ - --CC = ../../../bin/sdcc -+CC = sdcc - - #VERBOSE = --verbose - -diff -Nurd sdcc.orig/device/lib/ds400/Makefile.in sdcc/device/lib/ds400/Makefile.in ---- sdcc.orig/device/lib/ds400/Makefile.in 2007-06-03 22:38:18.000000000 +0200 -+++ sdcc/device/lib/ds400/Makefile.in 2008-04-01 10:06:44.282796254 +0200 -@@ -1,4 +1,4 @@ --CC = ../../../bin/sdcc -+CC = sdcc - - VPATH = @srcdir@ - srcdir = @srcdir@ -diff -Nurd sdcc.orig/device/lib/gbz80/Makefile.in sdcc/device/lib/gbz80/Makefile.in ---- sdcc.orig/device/lib/gbz80/Makefile.in 2007-04-18 21:56:32.000000000 +0200 -+++ sdcc/device/lib/gbz80/Makefile.in 2008-04-01 10:07:40.539249456 +0200 -@@ -5,8 +5,8 @@ - - TOPDIR = ../../.. - --SCC = $(TOPDIR)/bin/sdcc -mgbz80 --SAS = $(TOPDIR)/bin/as-gbz80 -+SCC = sdcc -mgbz80 -+SAS = as-gbz80 - - OBJ = div.o mul.o putchar.o printf.o shift.o stubs.o crt0_rle.o heap.o fstubs.o - -diff -Nurd sdcc.orig/device/lib/hc08/Makefile.in sdcc/device/lib/hc08/Makefile.in ---- sdcc.orig/device/lib/hc08/Makefile.in 2007-04-18 21:56:32.000000000 +0200 -+++ sdcc/device/lib/hc08/Makefile.in 2008-04-01 10:09:20.336580262 +0200 -@@ -5,8 +5,8 @@ - - TOPDIR = ../../.. - --SCC = $(TOPDIR)/bin/sdcc -mhc08 --SAS = $(TOPDIR)/bin/as6808 -+SCC = sdcc -mhc08 -+SAS = as6808 - - OBJ = _ret.rel _divuint.rel _divulong.rel _mulint.rel _mullong.rel - -diff -Nurd sdcc.orig/device/lib/mcs51/Makefile.in sdcc/device/lib/mcs51/Makefile.in ---- sdcc.orig/device/lib/mcs51/Makefile.in 2007-04-18 21:56:32.000000000 +0200 -+++ sdcc/device/lib/mcs51/Makefile.in 2008-04-01 10:05:53.603952030 +0200 -@@ -4,8 +4,8 @@ - top_srcdir = @top_srcdir@ - top_builddir = @top_builddir@ - --SAS = $(top_builddir)/bin/asx8051 --SCC = $(top_builddir)/bin/sdcc -+SAS = asx8051 -+SCC = sdcc - - OBJ = crtstart.rel crtxinit.rel crtxclear.rel crtclear.rel crtxstack.rel \ - crtpagesfr.rel crtbank.rel crtcall.rel -diff -Nurd sdcc.orig/device/lib/pic/Makefile.common.in sdcc/device/lib/pic/Makefile.common.in ---- sdcc.orig/device/lib/pic/Makefile.common.in 2007-05-05 09:41:17.000000000 +0200 -+++ sdcc/device/lib/pic/Makefile.common.in 2008-04-01 10:10:10.375857197 +0200 -@@ -68,8 +68,8 @@ - - ################################################# - ### programs to use --CPP = $(top_builddir)/../../../bin/sdcpp --CC = $(top_builddir)/../../../bin/sdcc -+CPP = sdcpp -+CC = sdcc - AS = @GPASM@ - LD = @GPLINK@ - LIB = @GPLIB@ -diff -Nurd sdcc.orig/device/lib/z80/Makefile.in sdcc/device/lib/z80/Makefile.in ---- sdcc.orig/device/lib/z80/Makefile.in 2007-04-18 21:56:32.000000000 +0200 -+++ sdcc/device/lib/z80/Makefile.in 2008-04-01 10:07:15.147644058 +0200 -@@ -5,8 +5,8 @@ - - TOPDIR = ../../.. - --SCC = $(TOPDIR)/bin/sdcc -mz80 --SAS = $(TOPDIR)/bin/as-z80 -+SCC = sdcc -mz80 -+SAS = as-z80 - - OBJ = div.o mul.o putchar.o shift.o stubs.o crt0_rle.o heap.o fstubs.o - -diff -Nurd sdcc.orig/support/regression/Makefile.in sdcc/support/regression/Makefile.in ---- sdcc.orig/support/regression/Makefile.in 2008-02-21 19:51:18.000000000 +0100 -+++ sdcc/support/regression/Makefile.in 2008-04-01 10:08:38.665755305 +0200 -@@ -155,7 +155,7 @@ - - # Defaults. Override in spec.mk if required. - # Path to SDCC --SDCC = $(top_builddir)/bin/sdcc -+SDCC = sdcc - # Base flags. - SDCCFLAGS += --fverbose-asm -DNO_VARARGS - # Extension of object intermediate files -diff -Nurd sdcc.orig/support/tests/dhrystone/Makefile sdcc/support/tests/dhrystone/Makefile ---- sdcc.orig/support/tests/dhrystone/Makefile 2001-10-22 03:14:16.000000000 +0200 -+++ sdcc/support/tests/dhrystone/Makefile 2008-04-01 10:08:55.786456870 +0200 -@@ -3,7 +3,7 @@ - - PROC = z80 - --CC = $(TOPDIR)/bin/sdcc -+CC = sdcc - - # -DNOENUM is here to make the results more predictable - CFLAGS += -DREG= -DNOSTRUCTASSIGN -DNOENUM -V -m$(PROC) --profile --dumpall --stack-auto diff --git a/packages/sdcc/sdcc-native_2.5.0.bb b/packages/sdcc/sdcc-native_2.5.0.bb deleted file mode 100644 index 3b41c33930..0000000000 --- a/packages/sdcc/sdcc-native_2.5.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -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" - -do_stage() { - oe_runmake install -} - -#do_stage() { -# find bin -type f -perm -0755 -exec install -m 0755 {} ${STAGING_BINDIR} \; -#} - diff --git a/packages/sdcc/sdcc-native_2.8.0.bb b/packages/sdcc/sdcc-native_2.8.0.bb deleted file mode 100644 index dbecffa4e5..0000000000 --- a/packages/sdcc/sdcc-native_2.8.0.bb +++ /dev/null @@ -1,16 +0,0 @@ -require sdcc_${PV}.bb -inherit native -DEPENDS = "" - -# don't need native-tools patch here -SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \ - " - -do_stage() { - oe_runmake install -} - -#do_stage() { -# find bin -type f -perm -0755 -exec install -m 0755 {} ${STAGING_BINDIR} \; -#} - diff --git a/packages/sdcc/sdcc_2.5.0.bb b/packages/sdcc/sdcc_2.5.0.bb deleted file mode 100644 index 3347fb9f6e..0000000000 --- a/packages/sdcc/sdcc_2.5.0.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION= "SDCC - Small Device C Compiler" -LICENSE = "GPL" -SECTION = "devel" -HOMEPAGE = "http://sdcc.sourceforge.net" -DEPENDS = "sdcc-native" -PR = "r1" - -SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-${PV}.tar.gz \ - file://gcc4.patch;patch=1 \ - file://use-native-tools.patch;patch=1" -S = "${WORKDIR}/sdcc" - -PARALLEL_MAKE = "" - -inherit autotools - -do_configure() { - gnu-configize - oe_runconf -} - diff --git a/packages/sdcc/sdcc_2.8.0.bb b/packages/sdcc/sdcc_2.8.0.bb deleted file mode 100644 index 07993eb0a1..0000000000 --- a/packages/sdcc/sdcc_2.8.0.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION= "SDCC - Small Device C Compiler" -LICENSE = "GPL" -SECTION = "devel" -HOMEPAGE = "http://sdcc.sourceforge.net" -DEPENDS = "sdcc-native" - -SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \ - file://use-native-tools.patch;patch=1" - -S = "${WORKDIR}/sdcc" - -PARALLEL_MAKE = "" - -inherit autotools - - -do_configure() { - gnu-configize - oe_runconf -} - |