shithub: scc

Download patch

ref: e7d19b604ceba9e4d387cc837961a7138008b18a
parent: f43dac0cd22b59a006beb7438240e2d9880d27cc
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Sep 30 09:24:21 EDT 2019

[config] Move mk files to cnfig/config

It makes the config directory more orthogonal.

--- a/config/amd64-darwin.mk
+++ /dev/null
@@ -1,3 +1,0 @@
-ARCH = amd64
-SYS = darwin
-ABI = amd64-darwin
--- a/config/amd64-dragonfly.mk
+++ /dev/null
@@ -1,3 +1,0 @@
-ARCH = amd64
-SYS = dragonfly
-ABI = amd64-posix
--- a/config/amd64-linux.mk
+++ /dev/null
@@ -1,3 +1,0 @@
-ARCH = amd64
-SYS  = linux
-ABI  = amd64-posix
--- a/config/amd64-netbsd.mk
+++ /dev/null
@@ -1,3 +1,0 @@
-ARCH = amd64
-SYS = netbsd
-ABI = amd64-posix
--- a/config/amd64-openbsd.mk
+++ /dev/null
@@ -1,3 +1,0 @@
-ARCH = amd64
-SYS = openbsd
-ABI = amd64-posix
--- a/config/arm32-linux.mk
+++ /dev/null
@@ -1,3 +1,0 @@
-ARCH = arm32
-SYS = linux
-ABI = arm32-posix
--- a/config/arm64-linux.mk
+++ /dev/null
@@ -1,3 +1,0 @@
-ARCH = arm64
-SYS = linux
-ABI = arm64-posix
--- /dev/null
+++ b/config/config/amd64-darwin.mk
@@ -1,0 +1,3 @@
+ARCH = amd64
+SYS = darwin
+ABI = amd64-darwin
--- /dev/null
+++ b/config/config/amd64-dragonfly.mk
@@ -1,0 +1,3 @@
+ARCH = amd64
+SYS = dragonfly
+ABI = amd64-posix
--- /dev/null
+++ b/config/config/amd64-linux.mk
@@ -1,0 +1,3 @@
+ARCH = amd64
+SYS  = linux
+ABI  = amd64-posix
--- /dev/null
+++ b/config/config/amd64-netbsd.mk
@@ -1,0 +1,3 @@
+ARCH = amd64
+SYS = netbsd
+ABI = amd64-posix
--- /dev/null
+++ b/config/config/amd64-openbsd.mk
@@ -1,0 +1,3 @@
+ARCH = amd64
+SYS = openbsd
+ABI = amd64-posix
--- /dev/null
+++ b/config/config/arm32-linux.mk
@@ -1,0 +1,3 @@
+ARCH = arm32
+SYS = linux
+ABI = arm32-posix
--- /dev/null
+++ b/config/config/arm64-linux.mk
@@ -1,0 +1,3 @@
+ARCH = arm64
+SYS = linux
+ABI = arm64-posix
--- a/scripts/rules.mk
+++ b/scripts/rules.mk
@@ -1,7 +1,7 @@
 CONF=amd64-linux
 TOOL=unix
 HOST=unix
-include $(PROJECTDIR)/config/$(CONF).mk
+include $(PROJECTDIR)/config/config/$(CONF).mk
 include $(PROJECTDIR)/config/toolchain/$(TOOL).mk
 include $(PROJECTDIR)/config/host/$(HOST).mk