From 060a0cf338d6024eee37cc344c224fe3bcb78e81 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Fri, 20 Oct 2023 16:07:58 +0200 Subject: Initial commit --- etc/defaults/CC/foreign/clang.TARGETS | 19 +++++++++++++++++++ etc/defaults/CC/foreign/gcc.TARGETS | 15 +++++++++++++++ etc/defaults/CC/foreign/stage-0.TARGETS | 1 + etc/defaults/CC/foreign/stage-1.TARGETS | 15 +++++++++++++++ etc/defaults/CC/foreign/static-build.TARGETS | 15 +++++++++++++++ etc/defaults/CC/foreign/test.TARGETS | 1 + 6 files changed, 66 insertions(+) create mode 100644 etc/defaults/CC/foreign/clang.TARGETS create mode 100644 etc/defaults/CC/foreign/gcc.TARGETS create mode 100644 etc/defaults/CC/foreign/stage-0.TARGETS create mode 100644 etc/defaults/CC/foreign/stage-1.TARGETS create mode 100644 etc/defaults/CC/foreign/static-build.TARGETS create mode 100644 etc/defaults/CC/foreign/test.TARGETS (limited to 'etc/defaults/CC/foreign') diff --git a/etc/defaults/CC/foreign/clang.TARGETS b/etc/defaults/CC/foreign/clang.TARGETS new file mode 100644 index 0000000..74e376c --- /dev/null +++ b/etc/defaults/CC/foreign/clang.TARGETS @@ -0,0 +1,19 @@ +{ "defaults": + { "type": ["CC/foreign", "defaults"] + , "base": + [ ["@", "cmake", "CC/foreign", "defaults"] + , ["@", "python", "CC/foreign", "defaults"] + ] + , "MAKE": ["make/bin/make"] + , "toolchain": ["staged-make", "staged-busybox"] + , "PATH": + [ "$(TOOLCHAIN)/make/bin" + , "$(TOOLCHAIN)/busybox/bin" + , "$(TOOLCHAIN)/busybox/usr/bin" + ] + } +, "staged-make": + {"type": "install", "dirs": [[["@", "make", "", "toolchain"], "make"]]} +, "staged-busybox": + {"type": "install", "dirs": [[["@", "busybox", "", "toolchain"], "busybox"]]} +} diff --git a/etc/defaults/CC/foreign/gcc.TARGETS b/etc/defaults/CC/foreign/gcc.TARGETS new file mode 100644 index 0000000..32ae01b --- /dev/null +++ b/etc/defaults/CC/foreign/gcc.TARGETS @@ -0,0 +1,15 @@ +{ "defaults": + { "type": ["CC/foreign", "defaults"] + , "MAKE": ["make/bin/make"] + , "toolchain": ["staged-make", "staged-busybox"] + , "PATH": + [ "$(TOOLCHAIN)/make/bin" + , "$(TOOLCHAIN)/busybox/bin" + , "$(TOOLCHAIN)/busybox/usr/bin" + ] + } +, "staged-make": + {"type": "install", "dirs": [[["@", "make", "", "toolchain"], "make"]]} +, "staged-busybox": + {"type": "install", "dirs": [[["@", "busybox", "", "toolchain"], "busybox"]]} +} diff --git a/etc/defaults/CC/foreign/stage-0.TARGETS b/etc/defaults/CC/foreign/stage-0.TARGETS new file mode 100644 index 0000000..8b2aad4 --- /dev/null +++ b/etc/defaults/CC/foreign/stage-0.TARGETS @@ -0,0 +1 @@ +{"defaults": {"type": ["CC/foreign", "defaults"]}} diff --git a/etc/defaults/CC/foreign/stage-1.TARGETS b/etc/defaults/CC/foreign/stage-1.TARGETS new file mode 100644 index 0000000..32ae01b --- /dev/null +++ b/etc/defaults/CC/foreign/stage-1.TARGETS @@ -0,0 +1,15 @@ +{ "defaults": + { "type": ["CC/foreign", "defaults"] + , "MAKE": ["make/bin/make"] + , "toolchain": ["staged-make", "staged-busybox"] + , "PATH": + [ "$(TOOLCHAIN)/make/bin" + , "$(TOOLCHAIN)/busybox/bin" + , "$(TOOLCHAIN)/busybox/usr/bin" + ] + } +, "staged-make": + {"type": "install", "dirs": [[["@", "make", "", "toolchain"], "make"]]} +, "staged-busybox": + {"type": "install", "dirs": [[["@", "busybox", "", "toolchain"], "busybox"]]} +} diff --git a/etc/defaults/CC/foreign/static-build.TARGETS b/etc/defaults/CC/foreign/static-build.TARGETS new file mode 100644 index 0000000..32ae01b --- /dev/null +++ b/etc/defaults/CC/foreign/static-build.TARGETS @@ -0,0 +1,15 @@ +{ "defaults": + { "type": ["CC/foreign", "defaults"] + , "MAKE": ["make/bin/make"] + , "toolchain": ["staged-make", "staged-busybox"] + , "PATH": + [ "$(TOOLCHAIN)/make/bin" + , "$(TOOLCHAIN)/busybox/bin" + , "$(TOOLCHAIN)/busybox/usr/bin" + ] + } +, "staged-make": + {"type": "install", "dirs": [[["@", "make", "", "toolchain"], "make"]]} +, "staged-busybox": + {"type": "install", "dirs": [[["@", "busybox", "", "toolchain"], "busybox"]]} +} diff --git a/etc/defaults/CC/foreign/test.TARGETS b/etc/defaults/CC/foreign/test.TARGETS new file mode 100644 index 0000000..8b2aad4 --- /dev/null +++ b/etc/defaults/CC/foreign/test.TARGETS @@ -0,0 +1 @@ +{"defaults": {"type": ["CC/foreign", "defaults"]}} -- cgit v1.2.3