From f66e9116094b0f80606101f8904a9a3b98d5b307 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 22 Oct 2017 00:01:59 +0100 Subject: [PATCH] Library: Fix Z80 breakage from 6809 fixes ifeq in Makefiles is subtle and quick to anger.... Also check z80 not sdcc. --- Library/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Makefile b/Library/Makefile index 14a0f32b..5fe63b39 100644 --- a/Library/Makefile +++ b/Library/Makefile @@ -35,8 +35,9 @@ tools/binman: tools/binman.c tools/liberror: tools/liberror.c $(CC) $(CFLAGS) -o $@ $< + install: -ifeq ( $(CROSS_CC), "sdcc" ) +ifeq ($(USERCPU),z80) mkdir -p /opt/fcc/bin /opt/fcc/lib /opt/fcc/include mkdir -p /opt/fcc/include/6502 /opt/fcc/include/arpa mkdir -p /opt/fcc/include/msp430x /opt/fcc/include/netinet -- 2.34.1