linux-stable/arch/microblaze
Masahiro Yamada 083cad7804 kbuild: fix "cat: .version: No such file or directory"
Since commit 2df8220cc5 ("kbuild: build init/built-in.a just once"),
the .version file is not touched at all when KBUILD_BUILD_VERSION is
given.

If KBUILD_BUILD_VERSION is specified and the .version file is missing
(for example right after 'make mrproper'), "No such file or director"
is shown. Even if the .version exists, it is irrelevant to the version
of the current build.

  $ make -j$(nproc) KBUILD_BUILD_VERSION=100 mrproper defconfig all
    [ snip ]
    BUILD   arch/x86/boot/bzImage
  cat: .version: No such file or directory
  Kernel: arch/x86/boot/bzImage is ready  (#)

Show KBUILD_BUILD_VERSION if it is given.

Fixes: 2df8220cc5 ("kbuild: build init/built-in.a just once")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
2022-11-24 09:26:02 +09:00
..
boot
configs treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
include - hfs and hfsplus kmap API modernization from Fabio Francesco 2022-10-12 11:00:22 -07:00
kernel Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
lib
mm microblaze/mm: enable ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:38 -07:00
pci
Kbuild
Kconfig microblaze: Add xmb_manager_register function 2022-09-26 14:13:28 +02:00
Kconfig.debug
Kconfig.platform
Makefile kbuild: fix "cat: .version: No such file or directory" 2022-11-24 09:26:02 +09:00