summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-06-06 12:55:57 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-06-12 15:12:01 +0200
commite39a6e6414d2879976fe31c4169e0d044d132916 (patch)
tree0455e03fb12678820a510f4fc07f26fb492a87aa
parent8a94c7a0e27c339bb74f2649b4dfd102f9ab3029 (diff)
downloadbootstrappable-toolchain-e39a6e6414d2879976fe31c4169e0d044d132916.tar.gz
CC defaults: Provide the DWP tool
This is handled similarly to the AR tool, i.e., provided from binutils.
-rw-r--r--doc/BOOTSTRAP.md4
-rw-r--r--toolchains/CC/clang.TARGETS1
-rw-r--r--toolchains/CC/gcc.TARGETS1
3 files changed, 4 insertions, 2 deletions
diff --git a/doc/BOOTSTRAP.md b/doc/BOOTSTRAP.md
index a52a99b..be4e6c1 100644
--- a/doc/BOOTSTRAP.md
+++ b/doc/BOOTSTRAP.md
@@ -47,8 +47,8 @@ final linking is done via custom compile commands.
### 4. Binutils
Building binutils requires the Busybox "essentials", `make`, and `ar` from the
-previous steps. This *full collection* of binutils includes `ar`, `as`, `ld`,
-`ranlib`, `strip`, and more.
+previous steps. This *full collection* of binutils includes `ar`, `as`, `dwp`,
+`ld`, `ranlib`, `strip`, and more.
### 5. GCC 4.7.4
diff --git a/toolchains/CC/clang.TARGETS b/toolchains/CC/clang.TARGETS
index c68b1aa..a718de1 100644
--- a/toolchains/CC/clang.TARGETS
+++ b/toolchains/CC/clang.TARGETS
@@ -10,6 +10,7 @@
, "CC": ["clang/bin/clang"]
, "CXX": ["clang/bin/clang++"]
, "AR": ["clang/bin/ar"]
+ , "DWP": ["clang/bin/dwp"]
, "CXXFLAGS":
{ "type": "if"
, "cond":
diff --git a/toolchains/CC/gcc.TARGETS b/toolchains/CC/gcc.TARGETS
index 9a6d21b..ad1f4fa 100644
--- a/toolchains/CC/gcc.TARGETS
+++ b/toolchains/CC/gcc.TARGETS
@@ -10,6 +10,7 @@
, "CC": ["gcc/bin/gcc"]
, "CXX": ["gcc/bin/g++"]
, "AR": ["gcc/bin/ar"]
+ , "DWP": ["gcc/bin/dwp"]
, "LDFLAGS":
{ "type": "if"
, "cond":