Perl removal patches for 3.2.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perl removal: Generate capflags.c with sed (POSIX 2008) instead of perl.arch/ arch/ arch/ | +30 | 0 replies | |
| 2/3 | perl removal: Replace scripts/headers_install.pl with a shell script calling sed.scripts/ scripts/ scripts/ | +46 | 0 replies | |
| 3/3 | perl removal: Use sed instead of perl to generate x86/kernel/cpu/capflags.c.kernel/ kernel/ kernel/ | +115 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Perl removal patches for 3.2.
So I'm still using these, and other people are using them (such as the musl guys), and even though they haven't really changed I had to re-diff them to eliminate fuzz, so I thought I'd post them here to the list again so you've all got fresh versions.
These patches remove perl as a build requirement for Linux. The first ~17 years of Linux versions never required perl to build, then in 2.6.25 Peter Anvin made Linux stop building on a system without perl at the same time he added the same requirement to klibc and syslinux and presumably every other project he could; I don't know why.
This yanks it back out again, which is really nice to do in cross compile environments where you've set up a restricted $PATH so your build doesn't go "hey, you've got python and tcl and java installed on the host, let me wire in support for all that to the package you're building so it won't work without it".
All these patches are available at http;//landley.net/hg/aboriginal in the "sources/patches" subdirectory too.