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.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kbuild fixes from Masahiro Yamada:

- Fix CC_HAS_ASM_GOTO_TIED_OUTPUT test in Kconfig

- Fix noisy "No such file or directory" message when
KBUILD_BUILD_VERSION is passed

- Include rust/ in source tarballs

- Fix missing FORCE for ARCH=nios2 builds

* tag 'kbuild-fixes-v6.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
nios2: add FORCE for vmlinuz.gz
scripts: add rust in scripts/Makefile.package
kbuild: fix "cat: .version: No such file or directory"
init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash

+7 -7
+2 -2
arch/microblaze/Makefile
··· 67 67 linux.bin: vmlinux 68 68 linux.bin linux.bin.gz linux.bin.ub: 69 69 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 70 - @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' 70 + @echo 'Kernel: $(boot)/$@ is ready' ' (#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 71 71 72 72 PHONY += simpleImage.$(DTB) 73 73 simpleImage.$(DTB): vmlinux 74 74 $(Q)$(MAKE) $(build)=$(boot) $(addprefix $(boot)/$@., ub unstrip strip) 75 - @echo 'Kernel: $(boot)/$@ is ready' ' (#'`cat .version`')' 75 + @echo 'Kernel: $(boot)/$@ is ready' ' (#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 76 76 77 77 define archhelp 78 78 echo '* linux.bin - Create raw binary'
+1 -1
arch/nios2/boot/Makefile
··· 20 20 $(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE 21 21 $(call if_changed,gzip) 22 22 23 - $(obj)/vmImage: $(obj)/vmlinux.gz 23 + $(obj)/vmImage: $(obj)/vmlinux.gz FORCE 24 24 $(call if_changed,uimage) 25 25 @$(kecho) 'Kernel: $@ is ready' 26 26
+1 -1
arch/x86/boot/Makefile
··· 83 83 84 84 $(obj)/bzImage: $(obj)/setup.bin $(obj)/vmlinux.bin $(obj)/tools/build FORCE 85 85 $(call if_changed,image) 86 - @$(kecho) 'Kernel: $@ is ready' ' (#'`cat .version`')' 86 + @$(kecho) 'Kernel: $@ is ready' ' (#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')' 87 87 88 88 OBJCOPYFLAGS_vmlinux.bin := -O binary -R .note -R .comment -S 89 89 $(obj)/vmlinux.bin: $(obj)/compressed/vmlinux FORCE
+1 -1
init/Kconfig
··· 87 87 config CC_HAS_ASM_GOTO_TIED_OUTPUT 88 88 depends on CC_HAS_ASM_GOTO_OUTPUT 89 89 # Detect buggy gcc and clang, fixed in gcc-11 clang-14. 90 - def_bool $(success,echo 'int foo(int *x) { asm goto (".long (%l[bar]) - .\n": "+m"(*x) ::: bar); return *x; bar: return 0; }' | $CC -x c - -c -o /dev/null) 90 + def_bool $(success,echo 'int foo(int *x) { asm goto (".long (%l[bar]) - .": "+m"(*x) ::: bar); return *x; bar: return 0; }' | $CC -x c - -c -o /dev/null) 91 91 92 92 config TOOLS_SUPPORT_RELR 93 93 def_bool $(success,env "CC=$(CC)" "LD=$(LD)" "NM=$(NM)" "OBJCOPY=$(OBJCOPY)" $(srctree)/scripts/tools-support-relr.sh)
+2 -2
scripts/Makefile.package
··· 30 30 export KDEB_SOURCENAME 31 31 # Include only those top-level files that are needed by make, plus the GPL copy 32 32 TAR_CONTENT := Documentation LICENSES arch block certs crypto drivers fs \ 33 - include init io_uring ipc kernel lib mm net samples scripts \ 34 - security sound tools usr virt \ 33 + include init io_uring ipc kernel lib mm net rust \ 34 + samples scripts security sound tools usr virt \ 35 35 .config .scmversion Makefile \ 36 36 Kbuild Kconfig COPYING $(wildcard localversion*) 37 37 MKSPEC := $(srctree)/scripts/package/mkspec