toolchain/external: use generic extract commands (branch yem/extract-cmds)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 0 repliesNew
- v1 RFC6 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- allow user to exclude files for custom toolchain (Romain)
- don't force --hard-dereference, it's useless; instead, drop it
- add the IMG toolchain
- use appropriate toolchain on x86 and x86_64
- rebase on top of master
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | core/pkg-generic: allow packages to exclude files when extractingdocs/ package/ | +8 | 2 replies | |
| 2/9 | toolchain-external/blacfin: always force keeping hardlinks from archivestoolchain/ | +2 | 1 reply | |
| 3/9 | package/gcc: use generic extract commandspackage/ package/ package/ | +8 | 1 reply | |
| 4/9 | toolchain/external: use generic extract commands (!blackfin case)toolchain/ | +10 | 1 reply | |
| 5/9 | toolchain/external: use generic extract commands (blackfin case)toolchain/ | +16 | 0 replies | |
| 6/9 | toolchain/external: allow user to exclude files from custom toolchainstoolchain/ toolchain/ | +11 | 1 reply | |
| 7/9 | toolchain/external: add MIPS Codescape MTI GNU Linux toolchaintoolchain/ toolchain/ toolchain/ +1 more | +84 | 0 replies | |
| 8/9 | toolchain/external: add MIPS Codescape IMG GNU Linux toolchaintoolchain/ toolchain/ toolchain/ | +50 | 0 replies | |
| 9/9 | toolchain/external: Codescape toolchains also exist for x86_64toolchain/ toolchain/ toolchain/ | +4 | 1 reply |
Reviews trailers per patch
7 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Romain Naour | Vicente Olivert Riera | Arnout Vandecappelle (Essensium/Mind) |
|---|---|---|---|
| 1/9 | R-b | R-b | |
| 2/9 | R-b | ||
| 3/9 | R-b | R-b T-b | |
| 4/9 | R-b | R-b T-b | |
| 5/9 | R-b | ||
| 6/9 | R-b | ||
| 7/9 | |||
| 8/9 | |||
| 9/9 | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Buildroot] [PATCH 0/9 v2] toolchain/external: use generic extract commands (branch yem/extract-cmds)
Hello All!
This series is an attempt at simplifying the way external toolchains are extracted.
Currently, external toolchains use custom extract commands, because they want to exclude a bunch of files during extraction, so as to save a bit of space (locales in some toolchains can account for up to 80% of the size of the toolchain as a whole).
And it turns out, gcc also wants to exclude a bunch of files (java and go, testsuites).
Using custom extract commands means that those packages (and critical ones, at that) can not benefit from the enhancements and fixes made to the generic commands, like the automatic striping of components.
In this series:
- we first introduce the support for the exclusion list;
- we drop the hard-link dereference option to tar, it's useless when
extracting;
- we make gcc use the exclusion list;
- we then make the external toolchains use it (in two passes: one for
the non-Blackfin case, one for it, as it is 'seecial'); - we allow users to specify an exlcusion list for custom toolchains;
- finaly, we introduce the Codescape MTI and IMG toolchains from Vincent.
Changes RFC -> v2:
- allow user to exclude files for custom toolchain (Romain)
- don't force --hard-dereference, it's useless; instead, drop it
- add the IMG toolchain
- use appropriate toolchain on x86 and x86_64
- rebase on top of master
Regards,
Yann E. MORIN.
The following changes since commit b4660601cdcf9b66b167a08ec2a19e8e4564c7d6:
linux: bump default version to 4.2.4 (2015-10-23 09:27:04 +0200)
are available in the git repository at:
git://git.busybox.net/~ymorin/git/buildroot yem/extract-cmds
for you to fetch changes up to d81c191c32f761351ec9a907feedbd47968cd1ee:
toolchain/external: Codescape toolchains also exist for x86_64 (2015-10-24 14:44:42 +0200)
----------------------------------------------------------------
Vicente Olivert Riera (2):
toolchain/external: add MIPS Codescape MTI GNU Linux toolchain toolchain/external: add MIPS Codescape IMG GNU Linux toolchain
Yann E. MORIN (7):
core/pkg-generic: allow packages to exclude files when extracting toolchain-external/blacfin: always force keeping hardlinks from archives package/gcc: use generic extract commands toolchain/external: use generic extract commands (!blackfin case) toolchain/external: use generic extract commands (blackfin case) toolchain/external: allow user to exclude files from custom toolchains toolchain/external: Codescape toolchains also exist for x86_64
docs/manual/adding-packages-generic.txt | 4 + package/gcc/gcc-final/gcc-final.mk | 3 +- package/gcc/gcc-initial/gcc-initial.mk | 3 +- package/gcc/gcc.mk | 15 +-- package/pkg-generic.mk | 5 +- toolchain/helpers.mk | 12 ++- toolchain/toolchain-external/Config.in | 102 +++++++++++++++++++++ .../toolchain-external/toolchain-external.hash | 7 ++ toolchain/toolchain-external/toolchain-external.mk | 73 ++++++++++----- 9 files changed, 186 insertions(+), 38 deletions(-)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'