public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
354ff8c
)
cpu-z80: use the findsdcc script
author
Alan Cox
<alan@linux.intel.com>
Sat, 22 Aug 2015 08:21:34 +0000
(09:21 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 22 Aug 2015 08:21:34 +0000
(09:21 +0100)
Kernel/cpu-z80/rules.mk
patch
|
blob
|
history
diff --git
a/Kernel/cpu-z80/rules.mk
b/Kernel/cpu-z80/rules.mk
index
233197a
..
8de241a
100644
(file)
--- a/
Kernel/cpu-z80/rules.mk
+++ b/
Kernel/cpu-z80/rules.mk
@@
-16,15
+16,4
@@
export ASMEXT = .s
export BINEXT = .rel
export BITS=16
#
-# Adjust this as needed for your platform (or contribute a script
-# to look in the usual places !)
-#
-ifeq ($(SDCC_LIB),)
- ifeq ($(UNAME_S),Darwin)
- export LIBZ80=/usr/local/share/sdcc/lib/$(CPU)
- else
- export LIBZ80=/usr/share/sdcc/lib/$(CPU)
- endif
-else
- export LIBZ80=$(SDCC_LIB)/$(CPU)
-endif
+export LIBZ80=$(shell tools/findsdcc $(CPU))