Skip to content

Commit 4ed9c1e

Browse files
committed
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
2 parents 087aa69 + c17a253 commit 4ed9c1e

File tree

4 files changed

+3
-33
lines changed

4 files changed

+3
-33
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,8 +1287,7 @@ hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj
12871287

12881288
PHONY += headers
12891289
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))
12921291
$(Q)$(MAKE) $(hdr-inst)=include/uapi
12931292
$(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi
12941293

scripts/extract-ikconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ try_decompress 'BZh' xy bunzip2
6262
try_decompress '\135\0\0\0' xxx unlzma
6363
try_decompress '\211\114\132' xy 'lzop -d'
6464
try_decompress '\002\041\114\030' xyy 'lz4 -d -l'
65+
try_decompress '\050\265\057\375' xxx unzstd
6566

6667
# Bail out:
6768
echo "$me: Cannot find kernel config." >&2

scripts/gcc-ld

Lines changed: 0 additions & 30 deletions
This file was deleted.

scripts/mksysmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@
4141
# so we just ignore them to let readprofile continue to work.
4242
# (At least sparc64 has __crc_ in the middle).
4343

44-
$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\( \.L\)' > $2
44+
$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\( \.L\)\|\( L0\)' > $2

0 commit comments

Comments
 (0)