Skip to content

Perl removal patches for 3.2.

Rob Landley lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perl removal: Generate capflags.c with sed (POSIX 2008) instead of perl.arch/x86/kernel/cpu/Makefile arch/x86/kernel/cpu/mkcapflags.pl arch/x86/kernel/cpu/mkcapflags.sh+30 -340 replies
2/3perl removal: Replace scripts/headers_install.pl with a shell script calling sed.scripts/Makefile.headersinst scripts/headers_install.pl scripts/headers_install.sh+46 -610 replies
3/3perl removal: Use sed instead of perl to generate x86/kernel/cpu/capflags.c.kernel/Makefile kernel/mktimeconst.c kernel/timeconst.pl+115 -3820 replies

Reviews trailers per patch

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

Read the v1 thread

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.