summaryrefslogtreecommitdiff
path: root/etc/defaults/CC/tools.TARGETS
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-01-09 16:11:15 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2024-01-10 13:22:58 +0100
commitd77f5f3e70e404cabb39c1b8efde92fa83ba5835 (patch)
treedd6fb5568aeac06ed98f9654f71988eb6fb88bfa /etc/defaults/CC/tools.TARGETS
parent0713209254a7dcdfd48a6af8469648cdc7de4e77 (diff)
downloadbootstrappable-toolchain-d77f5f3e70e404cabb39c1b8efde92fa83ba5835.tar.gz
repos: Refactor rules/static-build to rules/tools
... as those rules are only used by tools.
Diffstat (limited to 'etc/defaults/CC/tools.TARGETS')
-rw-r--r--etc/defaults/CC/tools.TARGETS12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/defaults/CC/tools.TARGETS b/etc/defaults/CC/tools.TARGETS
new file mode 100644
index 0000000..4b74449
--- /dev/null
+++ b/etc/defaults/CC/tools.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"]]}
+}