8afc66e8d4
- Remove potentially incomplete targets when Kbuid is interrupted by SIGINT etc. in case GNU Make may miss to do that when stderr is piped to another program. - Rewrite the single target build so it works more correctly. - Fix rpm-pkg builds with V=1. - List top-level subdirectories in ./Kbuild. - Ignore auto-generated __kstrtab_* and __kstrtabns_* symbols in kallsyms. - Avoid two different modules in lib/zstd/ having shared code, which potentially causes building the common code as build-in and modular back-and-forth. - Unify two modpost invocations to optimize the build process. - Remove head-y syntax in favor of linker scripts for placing particular sections in the head of vmlinux. - Bump the minimal GNU Make version to 3.82. - Clean up misc Makefiles and scripts. -----BEGIN PGP SIGNATURE----- iQJJBAABCgAzFiEEbmPs18K1szRHjPqEPYsBB53g2wYFAmM+4vcVHG1hc2FoaXJv eUBrZXJuZWwub3JnAAoJED2LAQed4NsGY2IQAInr0JUNnkkxwUSXtOcQuA3IK8RJ FbU9HXJRoV9H+7+l3SMlN7mIbrs5eE5fTY3iwQ3CVe139d1+1q7nvTMRv8owywJx GBgzswncuu1lk7iQQ//CxiqMwSCG8GJdYn1uDVy4I5jg3o+DtFZJtyq2Wb7pqsMm ZhZ4PozRN+idYQJSF6Vx/zEVLHI7quMBwfe4CME8/0Kg2+hnYzbXV/aUf0ED2emq zdCMDQgIOK5AhY+8qgMXKYnBUJMTqBp6LoR4p3ApfUkwRFY0sGa0/LK3U/B22OE7 uWyR4fCUExGyerlcHEVev+9eBfmsLLPyqlchNwpSDOPf5OSdnKmgqJEBR/Cvx0eh URerPk7EHxyH3G8yi+cU2GtofNTGc5RHPRgJE2ADsQEi5TAUKGmbXMlsFRL/51Vn lTANZObBNa1d4enljF6TfTL5nuccOa+DKvXnH9fQ49t0QdtSikv6J/lGwilwm1Sr BctmCsySPuURZfkpI9OQnLuouloMXl9f7Q/+S39haS/tSgvPpyITyO71nxDnXn/s BbFObZJUk9QkqOACjBP1hNErTLt83uBxQ9z+rDCw/SbLIe4nw0wyneuygfHI5rI8 3RZB2DbGauuJHX2Zs6YGS14SLSY33IsLqKR1/Vy3LrPvOHuEvNiOR8LITq5E0YCK OffK2Y5cIlXR0QWf =DHiN -----END PGP SIGNATURE----- Merge tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kbuild updates from Masahiro Yamada: - Remove potentially incomplete targets when Kbuid is interrupted by SIGINT etc in case GNU Make may miss to do that when stderr is piped to another program. - Rewrite the single target build so it works more correctly. - Fix rpm-pkg builds with V=1. - List top-level subdirectories in ./Kbuild. - Ignore auto-generated __kstrtab_* and __kstrtabns_* symbols in kallsyms. - Avoid two different modules in lib/zstd/ having shared code, which potentially causes building the common code as build-in and modular back-and-forth. - Unify two modpost invocations to optimize the build process. - Remove head-y syntax in favor of linker scripts for placing particular sections in the head of vmlinux. - Bump the minimal GNU Make version to 3.82. - Clean up misc Makefiles and scripts. * tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (41 commits) docs: bump minimal GNU Make version to 3.82 ia64: simplify esi object addition in Makefile Revert "kbuild: Check if linker supports the -X option" kbuild: rebuild .vmlinux.export.o when its prerequisite is updated kbuild: move modules.builtin(.modinfo) rules to Makefile.vmlinux_o zstd: Fixing mixed module-builtin objects kallsyms: ignore __kstrtab_* and __kstrtabns_* symbols kallsyms: take the input file instead of reading stdin kallsyms: drop duplicated ignore patterns from kallsyms.c kbuild: reuse mksysmap output for kallsyms mksysmap: update comment about __crc_* kbuild: remove head-y syntax kbuild: use obj-y instead extra-y for objects placed at the head kbuild: hide error checker logs for V=1 builds kbuild: re-run modpost when it is updated kbuild: unify two modpost invocations kbuild: move vmlinux.o rule to the top Makefile kbuild: move .vmlinux.objs rule to Makefile.modpost kbuild: list sub-directories in ./Kbuild Makefile.compiler: replace cc-ifversion with compiler-specific macros ... |
||
---|---|---|
.. | ||
dts | ||
.gitignore | ||
4xx.c | ||
4xx.h | ||
44x.h | ||
Makefile | ||
README | ||
addnote.c | ||
bamboo.c | ||
cpm-serial.c | ||
crt0.S | ||
crtsavres.S | ||
cuboot-8xx.c | ||
cuboot-52xx.c | ||
cuboot-83xx.c | ||
cuboot-85xx-cpm2.c | ||
cuboot-85xx.c | ||
cuboot-824x.c | ||
cuboot-acadia.c | ||
cuboot-amigaone.c | ||
cuboot-bamboo.c | ||
cuboot-ebony.c | ||
cuboot-hotfoot.c | ||
cuboot-katmai.c | ||
cuboot-kilauea.c | ||
cuboot-mpc7448hpc2.c | ||
cuboot-pq2.c | ||
cuboot-rainier.c | ||
cuboot-sam440ep.c | ||
cuboot-sequoia.c | ||
cuboot-taishan.c | ||
cuboot-warp.c | ||
cuboot-yosemite.c | ||
cuboot.c | ||
cuboot.h | ||
dcr.h | ||
decompress.c | ||
devtree.c | ||
div64.S | ||
ebony.c | ||
elf.h | ||
elf_util.c | ||
ep88xc.c | ||
ep8248e.c | ||
epapr-wrapper.c | ||
epapr.c | ||
fixed-head.S | ||
fixup-headers.sed | ||
fsl-soc.c | ||
fsl-soc.h | ||
gamecube-head.S | ||
gamecube.c | ||
hack-coff.c | ||
holly.c | ||
install.sh | ||
io.h | ||
libfdt-wrapper.c | ||
libfdt_env.h | ||
main.c | ||
microwatt.c | ||
mktree.c | ||
motload-head.S | ||
mpc8xx.c | ||
mpc8xx.h | ||
mpc52xx-psc.c | ||
mvme5100.c | ||
mvme7100.c | ||
ns16550.c | ||
of.c | ||
of.h | ||
ofconsole.c | ||
oflib.c | ||
opal-calls.S | ||
opal.c | ||
ops.h | ||
page.h | ||
planetcore.c | ||
planetcore.h | ||
ppc_asm.h | ||
ppcboot-hotfoot.h | ||
ppcboot.h | ||
pq2.c | ||
pq2.h | ||
ps3-head.S | ||
ps3-hvcall.S | ||
ps3.c | ||
pseries-head.S | ||
redboot-8xx.c | ||
redboot-83xx.c | ||
redboot.h | ||
reg.h | ||
rs6000.h | ||
serial.c | ||
simple_alloc.c | ||
simpleboot.c | ||
stdbool.h | ||
stdint.h | ||
stdio.c | ||
stdio.h | ||
stdlib.c | ||
stdlib.h | ||
string.S | ||
string.h | ||
swab.h | ||
treeboot-akebono.c | ||
treeboot-bamboo.c | ||
treeboot-currituck.c | ||
treeboot-ebony.c | ||
treeboot-iss4xx.c | ||
types.h | ||
ugecon.c | ||
ugecon.h | ||
util.S | ||
wii-head.S | ||
wii.c | ||
wrapper | ||
xz_config.h | ||
zImage.coff.lds.S | ||
zImage.lds.S | ||
zImage.ps3.lds.S |
README
To extract the kernel vmlinux, System.map, .config or initrd from the zImage binary: objcopy -j .kernel:vmlinux -O binary zImage vmlinux.gz objcopy -j .kernel:System.map -O binary zImage System.map.gz objcopy -j .kernel:.config -O binary zImage config.gz objcopy -j .kernel:initrd -O binary zImage.initrd initrd.gz Peter