summaryrefslogtreecommitdiff
path: root/recipes/sdcc/files/use-native-tools.patch
blob: d3b02c4a44bcd90082da5bf79fb004fa07af1d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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