From c7a57d2ce00febcbdf2cbd92bd34d6ee19fe87f1 Mon Sep 17 00:00:00 2001 From: Brett Gordon Date: Sat, 14 Oct 2017 20:12:46 -0400 Subject: [PATCH] lib: only install fcc libs if using sdcc --- Library/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Makefile b/Library/Makefile index 23cff4e6..14a0f32b 100644 --- a/Library/Makefile +++ b/Library/Makefile @@ -36,6 +36,7 @@ tools/liberror: tools/liberror.c $(CC) $(CFLAGS) -o $@ $< install: +ifeq ( $(CROSS_CC), "sdcc" ) 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 @@ -48,3 +49,4 @@ install: install -m 0644 include/netinet/*.h /opt/fcc/include/netinet install -m 0644 include/sys/*.h /opt/fcc/include/sys install -m 0644 ../Kernel/include/userstructs.h /opt/fcc/include/sys/ +endif \ No newline at end of file -- 2.34.1