shithub: scc

Download patch

ref: 8dd55ccfd79facf3ec5e404f9c502a8a8637ca66
parent: 9ffa78545045faaed23195ef00d8cee0f1bf1db6
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Oct 28 19:22:02 EDT 2019

[libc/i386] Remove not implemented targets

These targets are not implemented now, so it does not make sense
to have these directories in the filesystem.

diff: cannot open a/src/libc/arch/i386/darwin//null: file does not exist: 'a/src/libc/arch/i386/darwin//null' diff: cannot open a/src/libc/arch/i386/dragonfly//null: file does not exist: 'a/src/libc/arch/i386/dragonfly//null' diff: cannot open a/src/libc/arch/i386/netbsd//null: file does not exist: 'a/src/libc/arch/i386/netbsd//null' diff: cannot open a/src/libc/arch/i386/openbsd//null: file does not exist: 'a/src/libc/arch/i386/openbsd//null'
--- a/src/libc/arch/i386/Makefile
+++ b/src/libc/arch/i386/Makefile
@@ -4,7 +4,7 @@
 include ../../rules.mk
 
 OBJS = longjmp.o setjmp.o
-DIRS = netbsd openbsd dragonfly linux darwin
+DIRS = linux
 
 all: $(OBJS) $(SYS)
 
--- a/src/libc/arch/i386/darwin/Makefile
+++ /dev/null
@@ -1,10 +1,0 @@
-.POSIX:
-PROJECTDIR =../../../../..
-include $(PROJECTDIR)/scripts/rules.mk
-include ../../../rules.mk
-
-all:
-
-clean:
-	rm -f `awk '/[0-9]*	_/ {print $$2".s"}' syscall.lst`
-	rm -f syscall _sys_errlist.c
--- a/src/libc/arch/i386/dragonfly/Makefile
+++ /dev/null
@@ -1,10 +1,0 @@
-.POSIX:
-PROJECTDIR =../../../../..
-include $(PROJECTDIR)/scripts/rules.mk
-include ../../../rules.mk
-
-all:
-
-clean:
-	rm -f `awk '/[0-9]*	_/ {print $$2".s"}' syscall.lst`
-	rm -f syscall _sys_errlist.c
--- a/src/libc/arch/i386/netbsd/Makefile
+++ /dev/null
@@ -1,10 +1,0 @@
-.POSIX:
-PROJECTDIR =../../../../..
-include $(PROJECTDIR)/scripts/rules.mk
-include ../../../rules.mk
-
-all:
-
-clean:
-	rm -f `awk '/[0-9]*	_/ {print $$2".s"}' syscall.lst`
-	rm -f syscall _sys_errlist.c
--- a/src/libc/arch/i386/openbsd/Makefile
+++ /dev/null
@@ -1,10 +1,0 @@
-.POSIX:
-PROJECTDIR =../../../../..
-include $(PROJECTDIR)/scripts/rules.mk
-include ../../../rules.mk
-
-all:
-
-clean:
-	rm -f `awk '/[0-9]*	_/ {print $$2".s"}' syscall.lst`
-	rm -f syscall _sys_errlist.c