shithub: scc

Download patch

ref: 21cd4919f2b6b6d7099bacf6828a4d233bf35dfa
parent: a0a85448f88882e81a0adfc9bc67c761ccba2a95
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Oct 7 21:34:10 EDT 2021

build: Change name of libc-proto to libc-dirs

Libc-proto was really confusing because we are using the word
proto for a different set of files totally unrelated to the
list of directories needed for the libc.

--- a/Makefile
+++ b/Makefile
@@ -96,10 +96,10 @@
 src: include/scc/scc
 tests: all
 
-dirs: $(SCRIPTDIR)/libc-proto
-	xargs mkdir -p < $(SCRIPTDIR)/libc-proto
+dirs: $(SCRIPTDIR)/libc-dirs
+	xargs mkdir -p < $(SCRIPTDIR)/libc-dirs
 	touch dirs
 
 clean:
-	xargs rm -rf < $(SCRIPTDIR)/libc-proto
+	xargs rm -rf < $(SCRIPTDIR)/libc-dirs
 	rm -f dirs
--- /dev/null
+++ b/scripts/libc-dirs
@@ -1,0 +1,14 @@
+bin
+libexec
+libexec/scc
+lib
+lib/scc
+lib/scc/ppc32-linux
+lib/scc/i386-linux
+lib/scc/arm32-linux
+lib/scc/arm64-linux
+lib/scc/amd64-netbsd
+lib/scc/amd64-linux
+lib/scc/amd64-openbsd
+lib/scc/amd64-dragonfly
+lib/scc/amd64-darwin
--- a/scripts/libc-proto
+++ /dev/null
@@ -1,14 +1,0 @@
-bin
-libexec
-libexec/scc
-lib
-lib/scc
-lib/scc/ppc32-linux
-lib/scc/i386-linux
-lib/scc/arm32-linux
-lib/scc/arm64-linux
-lib/scc/amd64-netbsd
-lib/scc/amd64-linux
-lib/scc/amd64-openbsd
-lib/scc/amd64-dragonfly
-lib/scc/amd64-darwin