Skip to content

Add crostool-NG as backend to generate toolchain

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6toolchain: move helper functions from external toolchainMakefile toolchain/external-toolchain/ext-tool.mk toolchain/helpers.mk+209 -2050 replies
2/6toolchain: rename external toolchain dirtoolchain/Config.in toolchain/external-toolchain/Config.in toolchain/external-toolchain/Config.in.2 +4 more+139 -1390 replies
3/6toolchain: move makefile includesMakefile toolchain/toolchain-buildroot.mk toolchain/toolchain-external.mk+33 -150 replies
4/6toolchain: move buildroot config filestoolchain/Config.in toolchain/Config.in.1 toolchain/Config.in.2 +3 more+206 -2030 replies
5/6toolchain: rename base target for external toolchainsMakefile toolchain/toolchain-external/ext-tool.mk+2 -20 replies
6/6toolchain: add new toolchain backend: crosstool-NGMakefile toolchain/Config.in toolchain/toolchain-crosstool-NG.mk +3 more+554 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/6] [WIP] Add crostool-NG as backend to generate toolchain

This series is a snapshot of my attempt at using crosstool-NG as a backend to generate the toolchain.

The series is two-fold:
- patch 1..5 are cleanups to lay down a proper base to add a new backend
- patch 6 is the actual addition of crosstool-NG as a new backend

This series is not final! It is *not* intended to be included as is. It is posted for preliminary review, so as to make it ready for early inclusion in the next release cycle.

Of particular interest:
- patch 1..4 appear to be complete, but have been lightly tested, as my primary goal is to first add crosstool-NG as a backend, and then fix the broken stuff in a generic way.

- patch 5:
I have not thoroughly checked that the renaming was complete. There might be some packages that still depend on the old target, especially gdb, which has a dependency on 'uClibc', and I haven't checked that one (yet).

- patch 6:
The toolchain is only built, not installed, and a lot of options from BR are not yet pushed into crosstool-NG's .config.

---

Yann E. MORIN (6):
toolchain: move helper functions from external toolchain
toolchain: rename external toolchain dir
toolchain: move makefile includes
toolchain: move buildroot config files
toolchain: rename base target for external toolchains
toolchain: add new toolchain backend: crosstool-NG

 Makefile                                           |   22 -
 toolchain/Config.in                                |   20 +
 toolchain/Config.in.1                              |    9 -
 toolchain/Config.in.2                              |  185 ----------
 toolchain/external-toolchain/Config.in             |   22 -
 toolchain/external-toolchain/Config.in.2           |   17 -
 toolchain/external-toolchain/ext-tool.mk           |  303 -----------------
 toolchain/helpers.mk                               |  208 ++++++++++++
 toolchain/toolchain-buildroot.mk                   |   15 +
 toolchain/toolchain-buildroot/Config.in            |    9 +
 toolchain/toolchain-buildroot/Config.in.2          |   37 ++
 toolchain/toolchain-common.in                      |  157 +++++++++
 toolchain/toolchain-crosstool-NG.mk                |   16 +
 toolchain/toolchain-crosstool-NG/Config.in         |   53 +++
 .../toolchain-crosstool-NG/crosstool-NG.config     |  360 ++++++++++++++++++++
 toolchain/toolchain-crosstool-NG/crosstool-NG.mk   |  118 +++++++
 toolchain/toolchain-external.mk                    |   16 +
 toolchain/toolchain-external/Config.in             |   22 +
 toolchain/toolchain-external/Config.in.2           |   17 +
 toolchain/toolchain-external/ext-tool.mk           |   98 +++++
 20 files changed, 1141 insertions(+), 563 deletions(-)
 delete mode 100644 toolchain/Config.in.1
 delete mode 100644 toolchain/Config.in.2
 delete mode 100644 toolchain/external-toolchain/Config.in
 delete mode 100644 toolchain/external-toolchain/Config.in.2
 delete mode 100644 toolchain/external-toolchain/ext-tool.mk
 create mode 100644 toolchain/helpers.mk
 create mode 100644 toolchain/toolchain-buildroot.mk
 create mode 100644 toolchain/toolchain-buildroot/Config.in
 create mode 100644 toolchain/toolchain-buildroot/Config.in.2
 create mode 100644 toolchain/toolchain-common.in
 create mode 100644 toolchain/toolchain-crosstool-NG.mk
 create mode 100644 toolchain/toolchain-crosstool-NG/Config.in
 create mode 100644 toolchain/toolchain-crosstool-NG/crosstool-NG.config
 create mode 100644 toolchain/toolchain-crosstool-NG/crosstool-NG.mk
 create mode 100644 toolchain/toolchain-external.mk
 create mode 100644 toolchain/toolchain-external/Config.in
 create mode 100644 toolchain/toolchain-external/Config.in.2
 create mode 100644 toolchain/toolchain-external/ext-tool.mk
Signature · 1 line
Signature