Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'kbuild-fixes-v6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kbuild fixes from Masahiro Yamada:

- Remove unused scripts/gcc-ld script

- Add zstd support to scripts/extract-ikconfig

- Check 'make headers' for UML

- Fix scripts/mksysmap to ignore local symbols

* tag 'kbuild-fixes-v6.0-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
mksysmap: Fix the mismatch of 'L0' symbols in System.map
kbuild: disable header exports for UML in a straightforward way
scripts/extract-ikconfig: add zstd compression support
scripts: remove obsolete gcc-ld script

+3 -33
+1 -2
Makefile
··· 1287 1287 1288 1288 PHONY += headers 1289 1289 headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders archscripts 1290 - $(if $(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/Kbuild),, \ 1291 - $(error Headers not exportable for the $(SRCARCH) architecture)) 1290 + $(if $(filter um, $(SRCARCH)), $(error Headers not exportable for UML)) 1292 1291 $(Q)$(MAKE) $(hdr-inst)=include/uapi 1293 1292 $(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi 1294 1293
+1
scripts/extract-ikconfig
··· 62 62 try_decompress '\135\0\0\0' xxx unlzma 63 63 try_decompress '\211\114\132' xy 'lzop -d' 64 64 try_decompress '\002\041\114\030' xyy 'lz4 -d -l' 65 + try_decompress '\050\265\057\375' xxx unzstd 65 66 66 67 # Bail out: 67 68 echo "$me: Cannot find kernel config." >&2
-30
scripts/gcc-ld
··· 1 - #!/bin/sh 2 - # SPDX-License-Identifier: GPL-2.0 3 - # run gcc with ld options 4 - # used as a wrapper to execute link time optimizations 5 - # yes virginia, this is not pretty 6 - 7 - ARGS="-nostdlib" 8 - 9 - while [ "$1" != "" ] ; do 10 - case "$1" in 11 - -save-temps|-m32|-m64) N="$1" ;; 12 - -r) N="$1" ;; 13 - -[Wg]*) N="$1" ;; 14 - -[olv]|-[Ofd]*|-nostdlib) N="$1" ;; 15 - --end-group|--start-group) 16 - N="-Wl,$1" ;; 17 - -[RTFGhIezcbyYu]*|\ 18 - --script|--defsym|-init|-Map|--oformat|-rpath|\ 19 - -rpath-link|--sort-section|--section-start|-Tbss|-Tdata|-Ttext|\ 20 - --version-script|--dynamic-list|--version-exports-symbol|--wrap|-m) 21 - A="$1" ; shift ; N="-Wl,$A,$1" ;; 22 - -[m]*) N="$1" ;; 23 - -*) N="-Wl,$1" ;; 24 - *) N="$1" ;; 25 - esac 26 - ARGS="$ARGS $N" 27 - shift 28 - done 29 - 30 - exec $CC $ARGS
+1 -1
scripts/mksysmap
··· 41 41 # so we just ignore them to let readprofile continue to work. 42 42 # (At least sparc64 has __crc_ in the middle). 43 43 44 - $NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\( \.L\)' > $2 44 + $NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\( \.L\)\|\( L0\)' > $2