mirror of https://gitee.com/openkylin/linux.git
668c35f69c
Kbuild core: - remove unneeded $(call cc-option,...) switches - consolidate Clang compiler flags into CLANG_FLAGS - announce the deprecation of SUBDIRS - fix single target build for external module - simplify the dependencies of 'prepare' stage targets - allow fixdep to directly write to .*.cmd files - simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMS - change if_changed_rule to accept multi-line recipe - move .SECONDARY special target to scripts/Kbuild.include - remove redundant 'set -e' - improve parallel execution for CONFIG_HEADERS_CHECK - misc cleanups Treewide fixes and cleanups - set Clang flags correctly for PowerPC boot images - fix UML build error with CONFIG_GCC_PLUGINS - remove unneeded patterns from .gitignore files - refactor firmware/Makefile - remove unneeded rules for *offsets.s - avoid unneeded regeneration of intermediate .s files - clean up ./Kbuild Modpost: - remove unused -M, -K options - fix false positive warnings about section mismatch - use simple devtable lookup instead of linker magic - misc cleanups Coccinelle: - relax boolinit.cocci checks for overall consistency - fix warning messages of boolinit.cocci Other tools: - improve -dirty check of scripts/setlocalversion - add a tool to generate compile_commands.json from .*.cmd files -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJcJiVeAAoJED2LAQed4NsGXEMP/1fdkBfZGxYlxp4w1tEBeRKZ GInxxMfHiHZlu7nFPQ3k1mncczZjeLbnKcLaybnPmqBSfQe1F7tN0ux1sHtWkVfI DvqoKaHObZ3lEMEVxCHXQ2bKrN/j9nB2xSxzr4dvc9DscW8dwKElZuKVE7nHKdhl z70xsalxHGEGY6hptJrucbv8KTBOSleZ8Gaat79sEDkDSLCTjxXB3WcVMWqDT0M/ IqN5QCwiPjZC3UCwuqq6+vnG1gyvDUORcbrVgHrBIKxLYAABYzugB5IlLpi8B31C ZUDmijSTandHd4SG5gw5uZoyYuK4YhZeI7g4yNyXSqnPurmcJxrGdpiuwRcE7xet 5yB2uaNbAFO6Fbz4gUdDEvryA9IZEPPn1Z0Btfpp7UOxiWEqE61oHReCNdkiad94 Oonl+ROZw5UOT3AZD3xCZTf9bTnQoCFccHTmnbaKqqSiDWxxLUXum7sNfnJ6GXEb fNQDuwuxtsPStaWoU93QNrGyl5e8jYTKFdphUCnZZ2/hE8ygoQ06PYmeBAk+UKfN UI2IqR8PHgmA97XJg+fHhbw6X4nQcPsg/usLqxGItAZNO2O4uXgaN24dOcHG74Bu 2Dk/gQQB2sVB/Dxfmlaxvvj98MVg7IMtpusAT2bQ7miiSS3EqPFT8KQMZYLICWuZ u7QQe20yCho3ZULmsRwH =0PCt -----END PGP SIGNATURE----- Merge tag 'kbuild-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kbuild updates from Masahiro Yamada: "Kbuild core: - remove unneeded $(call cc-option,...) switches - consolidate Clang compiler flags into CLANG_FLAGS - announce the deprecation of SUBDIRS - fix single target build for external module - simplify the dependencies of 'prepare' stage targets - allow fixdep to directly write to .*.cmd files - simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMS - change if_changed_rule to accept multi-line recipe - move .SECONDARY special target to scripts/Kbuild.include - remove redundant 'set -e' - improve parallel execution for CONFIG_HEADERS_CHECK - misc cleanups Treewide fixes and cleanups - set Clang flags correctly for PowerPC boot images - fix UML build error with CONFIG_GCC_PLUGINS - remove unneeded patterns from .gitignore files - refactor firmware/Makefile - remove unneeded rules for *offsets.s - avoid unneeded regeneration of intermediate .s files - clean up ./Kbuild Modpost: - remove unused -M, -K options - fix false positive warnings about section mismatch - use simple devtable lookup instead of linker magic - misc cleanups Coccinelle: - relax boolinit.cocci checks for overall consistency - fix warning messages of boolinit.cocci Other tools: - improve -dirty check of scripts/setlocalversion - add a tool to generate compile_commands.json from .*.cmd files" * tag 'kbuild-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (51 commits) kbuild: remove unused cmd_gentimeconst kbuild: remove $(obj)/ prefixes in ./Kbuild treewide: add intermediate .s files to targets treewide: remove explicit rules for *offsets.s firmware: refactor firmware/Makefile firmware: remove unnecessary patterns from .gitignore scripts: remove unnecessary ihex2fw and check-lc_ctypes from .gitignore um: remove unused filechk_gen_header in Makefile scripts: add a tool to produce a compile_commands.json file kbuild: add -Werror=implicit-int flag unconditionally kbuild: add -Werror=strict-prototypes flag unconditionally kbuild: add -fno-PIE flag unconditionally scripts: coccinelle: Correct warning message scripts: coccinelle: only suggest true/false in files that already use them kbuild: handle part-of-module correctly for *.ll and *.symtypes kbuild: refactor part-of-module kbuild: refactor quiet_modtag kbuild: remove redundant quiet_modtag for $(obj-m) kbuild: refactor Makefile.asm-generic user/Makefile: Fix typo and capitalization in comment section ... |
||
---|---|---|
.. | ||
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 | ||
dummy.c | ||
ebony.c | ||
elf.h | ||
elf_util.c | ||
ep88xc.c | ||
ep405.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 | ||
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 | ||
treeboot-walnut.c | ||
types.h | ||
uartlite.c | ||
ugecon.c | ||
ugecon.h | ||
util.S | ||
virtex.c | ||
virtex405-head.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