shithub: scc

Download patch

ref: 1a5e3a4dd663c092030315c8a240d0737473102b
parent: 76365130ccb3a770afab59bb45361a2cf21752f2
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu May 26 15:53:09 EDT 2022

build: Simplify configurations

The posix configurations were defining only two variables and it
makes much more sense to just set them in every file.

--- a/scripts/build/conf/amd64-dragonfly.mk
+++ b/scripts/build/conf/amd64-dragonfly.mk
@@ -1,5 +1,5 @@
-include $(BUILDDIR)/conf/amd64-posix.mk
-
+ARCH = amd64
+ABI  = sysv
 SYS = dragonfly
 FORMAT = elf
 O = 6f
--- a/scripts/build/conf/amd64-linux.mk
+++ b/scripts/build/conf/amd64-linux.mk
@@ -1,5 +1,5 @@
-include $(BUILDDIR)/conf/amd64-posix.mk
-
+ARCH = amd64
+ABI  = sysv
 SYS  = linux
 FORMAT = elf
 O = 6l
--- a/scripts/build/conf/amd64-netbsd.mk
+++ b/scripts/build/conf/amd64-netbsd.mk
@@ -1,5 +1,5 @@
-include $(BUILDDIR)/conf/amd64-posix.mk
-
+ARCH = amd64
+ABI  = sysv
 SYS = netbsd
 FORMAT = elf
 O = 6n
--- a/scripts/build/conf/amd64-openbsd.mk
+++ b/scripts/build/conf/amd64-openbsd.mk
@@ -1,5 +1,5 @@
-include $(BUILDDIR)/conf/amd64-posix.mk
-
+ARCH = amd64
+ABI  = sysv
 SYS = openbsd
 FORMAT = elf
 O = 6o
--- a/scripts/build/conf/amd64-posix.mk
+++ /dev/null
@@ -1,2 +1,0 @@
-ARCH = amd64
-ABI  = sysv
--- a/scripts/build/conf/arm32-linux.mk
+++ b/scripts/build/conf/arm32-linux.mk
@@ -1,5 +1,5 @@
-include $(BUILDDIR)/conf/arm32-posix.mk
-
+ABI = sysv
+ARCH = arm32
 SYS = linux
 FORMAT = elf
 O = 5l
--- a/scripts/build/conf/arm32-posix.mk
+++ /dev/null
@@ -1,2 +1,0 @@
-ABI = sysv
-ARCH = arm32
--- a/scripts/build/conf/arm64-linux.mk
+++ b/scripts/build/conf/arm64-linux.mk
@@ -1,5 +1,5 @@
-include $(BUILDDIR)/conf/arm64-posix.mk
-
+ARCH = arm64
+ABI = sysv
 SYS = linux
 FORMAT = elf
 O = 7l
--- a/scripts/build/conf/arm64-posix.mk
+++ /dev/null
@@ -1,2 +1,0 @@
-ARCH = arm64
-ABI = sysv
--- a/scripts/build/conf/ppc32-linux.mk
+++ b/scripts/build/conf/ppc32-linux.mk
@@ -1,5 +1,5 @@
-include $(BUILDDIR)/conf/ppc32-posix.mk
-
+ABI = sysv
+ARCH = ppc32
 SYS = linux
 FORMAT = elf
 O = ql
--- a/scripts/build/conf/ppc32-posix.mk
+++ /dev/null
@@ -1,2 +1,0 @@
-ABI = sysv
-ARCH = ppc32