diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-10-20 16:07:58 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-10-20 16:07:58 +0200 |
commit | 060a0cf338d6024eee37cc344c224fe3bcb78e81 (patch) | |
tree | 3fea7c654b69ecf3490fe9c6cbc542aba0d5bd8f /etc/defaults | |
download | bootstrappable-toolchain-060a0cf338d6024eee37cc344c224fe3bcb78e81.tar.gz |
Initial commit
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/CC/clang.TARGETS | 11 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/clang.TARGETS | 19 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/gcc.TARGETS | 15 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/stage-0.TARGETS | 1 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/stage-1.TARGETS | 15 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/static-build.TARGETS | 15 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/test.TARGETS | 1 | ||||
-rw-r--r-- | etc/defaults/CC/gcc.TARGETS | 11 | ||||
-rw-r--r-- | etc/defaults/CC/stage-0.TARGETS | 26 | ||||
-rw-r--r-- | etc/defaults/CC/stage-1.TARGETS | 11 | ||||
-rw-r--r-- | etc/defaults/CC/static-build.TARGETS | 12 | ||||
-rw-r--r-- | etc/defaults/CC/test.TARGETS | 3 | ||||
-rw-r--r-- | etc/defaults/shell/test/test.TARGETS | 1 |
13 files changed, 141 insertions, 0 deletions
diff --git a/etc/defaults/CC/clang.TARGETS b/etc/defaults/CC/clang.TARGETS new file mode 100644 index 0000000..a91fced --- /dev/null +++ b/etc/defaults/CC/clang.TARGETS @@ -0,0 +1,11 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "CC": ["gcc/bin/gcc"] + , "CXX": ["gcc/bin/g++"] + , "AR": ["gcc/bin/ar"] + , "toolchain": ["staged-gcc"] + , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin", "/usr/bin"] + } +, "staged-gcc": + {"type": "install", "dirs": [[["@", "gcc", "", "toolchain"], "gcc"]]} +} 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"]}} diff --git a/etc/defaults/CC/gcc.TARGETS b/etc/defaults/CC/gcc.TARGETS new file mode 100644 index 0000000..a91fced --- /dev/null +++ b/etc/defaults/CC/gcc.TARGETS @@ -0,0 +1,11 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "CC": ["gcc/bin/gcc"] + , "CXX": ["gcc/bin/g++"] + , "AR": ["gcc/bin/ar"] + , "toolchain": ["staged-gcc"] + , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin", "/usr/bin"] + } +, "staged-gcc": + {"type": "install", "dirs": [[["@", "gcc", "", "toolchain"], "gcc"]]} +} diff --git a/etc/defaults/CC/stage-0.TARGETS b/etc/defaults/CC/stage-0.TARGETS new file mode 100644 index 0000000..f58d2bf --- /dev/null +++ b/etc/defaults/CC/stage-0.TARGETS @@ -0,0 +1,26 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "arguments_config": ["TOOLCHAIN_CONFIG"] + , "CC": + [ { "type": "lookup" + , "map": + { "type": "var" + , "name": "TOOLCHAIN_CONFIG" + , "default": {"type": "empty_map"} + } + , "key": "BOOTSTRAP_CC" + , "default": "cc" + } + ] + , "PATH": + { "type": "lookup" + , "map": + { "type": "var" + , "name": "TOOLCHAIN_CONFIG" + , "default": {"type": "empty_map"} + } + , "key": "BOOTSTRAP_PATH" + , "default": ["/bin", "/usr/bin"] + } + } +} diff --git a/etc/defaults/CC/stage-1.TARGETS b/etc/defaults/CC/stage-1.TARGETS new file mode 100644 index 0000000..a91fced --- /dev/null +++ b/etc/defaults/CC/stage-1.TARGETS @@ -0,0 +1,11 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "CC": ["gcc/bin/gcc"] + , "CXX": ["gcc/bin/g++"] + , "AR": ["gcc/bin/ar"] + , "toolchain": ["staged-gcc"] + , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin", "/usr/bin"] + } +, "staged-gcc": + {"type": "install", "dirs": [[["@", "gcc", "", "toolchain"], "gcc"]]} +} diff --git a/etc/defaults/CC/static-build.TARGETS b/etc/defaults/CC/static-build.TARGETS new file mode 100644 index 0000000..4b74449 --- /dev/null +++ b/etc/defaults/CC/static-build.TARGETS @@ -0,0 +1,12 @@ +{ "defaults": + { "type": ["CC", "defaults"] + , "CC": ["gcc/bin/gcc"] + , "CXX": ["gcc/bin/g++"] + , "AR": ["gcc/bin/ar"] + , "LDFLAGS": ["-static"] + , "toolchain": ["staged-gcc"] + , "PATH": ["$(TOOLCHAIN)/gcc/bin", "/bin", "/usr/bin"] + } +, "staged-gcc": + {"type": "install", "dirs": [[["@", "gcc-musl", "", "toolchain"], "gcc"]]} +} diff --git a/etc/defaults/CC/test.TARGETS b/etc/defaults/CC/test.TARGETS new file mode 100644 index 0000000..76dc47d --- /dev/null +++ b/etc/defaults/CC/test.TARGETS @@ -0,0 +1,3 @@ +{ "defaults": + {"type": ["CC", "defaults"], "base": [["@", "toolchain", "CC", "defaults"]]} +} diff --git a/etc/defaults/shell/test/test.TARGETS b/etc/defaults/shell/test/test.TARGETS new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/etc/defaults/shell/test/test.TARGETS @@ -0,0 +1 @@ +{} |