diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-01-09 16:20:50 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-01-10 13:22:58 +0100 |
commit | b00ef322be2fd3329b6e4844f402387c7ace91ab (patch) | |
tree | 714135d6bcd30c012de14062bacf98628797bcc0 /etc/defaults/CC | |
parent | d77f5f3e70e404cabb39c1b8efde92fa83ba5835 (diff) | |
download | bootstrappable-toolchain-b00ef322be2fd3329b6e4844f402387c7ace91ab.tar.gz |
repos: Base rules on parent rules
... to propagate foreign tools that are the same in each
rule set (e.g., busybox, make).
Diffstat (limited to 'etc/defaults/CC')
-rw-r--r-- | etc/defaults/CC/foreign/clang.TARGETS | 14 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/gcc.TARGETS | 12 | ||||
-rw-r--r-- | etc/defaults/CC/foreign/tools.TARGETS | 12 |
3 files changed, 4 insertions, 34 deletions
diff --git a/etc/defaults/CC/foreign/clang.TARGETS b/etc/defaults/CC/foreign/clang.TARGETS index 74e376c..3c8dc50 100644 --- a/etc/defaults/CC/foreign/clang.TARGETS +++ b/etc/defaults/CC/foreign/clang.TARGETS @@ -1,19 +1,9 @@ { "defaults": { "type": ["CC/foreign", "defaults"] , "base": - [ ["@", "cmake", "CC/foreign", "defaults"] + [ ["@", "base", "CC/foreign", "defaults"] + , ["@", "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 index 32ae01b..b9ea991 100644 --- a/etc/defaults/CC/foreign/gcc.TARGETS +++ b/etc/defaults/CC/foreign/gcc.TARGETS @@ -1,15 +1,5 @@ { "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" - ] + , "base": [["@", "base", "CC/foreign", "defaults"]] } -, "staged-make": - {"type": "install", "dirs": [[["@", "make", "", "toolchain"], "make"]]} -, "staged-busybox": - {"type": "install", "dirs": [[["@", "busybox", "", "toolchain"], "busybox"]]} } diff --git a/etc/defaults/CC/foreign/tools.TARGETS b/etc/defaults/CC/foreign/tools.TARGETS index 32ae01b..b9ea991 100644 --- a/etc/defaults/CC/foreign/tools.TARGETS +++ b/etc/defaults/CC/foreign/tools.TARGETS @@ -1,15 +1,5 @@ { "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" - ] + , "base": [["@", "base", "CC/foreign", "defaults"]] } -, "staged-make": - {"type": "install", "dirs": [[["@", "make", "", "toolchain"], "make"]]} -, "staged-busybox": - {"type": "install", "dirs": [[["@", "busybox", "", "toolchain"], "busybox"]]} } |