mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
Fourth round of Kbuild fixes for 7.0
- Make modules-cpio-pkg respect INSTALL_MOD_PATH so that it can be used with distribution initramfs files that have a merged /usr, such as Fedora. - Silence an instance of -Wunused-but-set-global, a strengthening of -Wunused-but-set-variable in tip of tree Clang, in modpost, as the variable for extra warnings is currently unused. Signed-off-by: Nathan Chancellor <nathan@kernel.org> -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQR74yXHMTGczQHYypIdayaRccAalgUCadgzeAAKCRAdayaRccAa lgwUAP9DR/KRuVYPGl32xPNpNGgZm/k1TFZhISk9iVzQctDoIQD/ZMfWz/6tAWcj K1L0xTi8tzAhV16YOa/uYtr1bWEDrAI= =ejUS -----END PGP SIGNATURE----- Merge tag 'kbuild-fixes-7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux Pull Kbuild fixes from Nathan Chancellor: - Make modules-cpio-pkg respect INSTALL_MOD_PATH so that it can be used with distribution initramfs files that have a merged /usr, such as Fedora - Silence an instance of -Wunused-but-set-global, a strengthening of -Wunused-but-set-variable in tip of tree Clang, in modpost, as the variable for extra warnings is currently unused * tag 'kbuild-fixes-7.0-4' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux: modpost: Declare extra_warn with unused attribute kbuild: modules-cpio-pkg: Respect INSTALL_MOD_PATH
This commit is contained in:
commit
9a9c8ce300
|
|
@ -195,7 +195,7 @@ tar%-pkg: linux-$(KERNELRELEASE)-$(ARCH).tar.% FORCE
|
|||
.tmp_modules_cpio: FORCE
|
||||
$(Q)$(MAKE) -f $(srctree)/Makefile
|
||||
$(Q)rm -rf $@
|
||||
$(Q)$(MAKE) -f $(srctree)/Makefile INSTALL_MOD_PATH=$@ modules_install
|
||||
$(Q)$(MAKE) -f $(srctree)/Makefile INSTALL_MOD_PATH=$@/$(INSTALL_MOD_PATH) modules_install
|
||||
|
||||
quiet_cmd_cpio = CPIO $@
|
||||
cmd_cpio = $(CONFIG_SHELL) $(srctree)/usr/gen_initramfs.sh -o $@ $<
|
||||
|
|
@ -264,6 +264,7 @@ help:
|
|||
@echo ' tarxz-pkg - Build the kernel as a xz compressed tarball'
|
||||
@echo ' tarzst-pkg - Build the kernel as a zstd compressed tarball'
|
||||
@echo ' modules-cpio-pkg - Build the kernel modules as cpio archive'
|
||||
@echo ' (uses INSTALL_MOD_PATH inside the archive)'
|
||||
@echo ' perf-tar-src-pkg - Build the perf source tarball with no compression'
|
||||
@echo ' perf-targz-src-pkg - Build the perf source tarball with gzip compression'
|
||||
@echo ' perf-tarbz2-src-pkg - Build the perf source tarball with bz2 compression'
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ static bool allow_missing_ns_imports;
|
|||
|
||||
static bool error_occurred;
|
||||
|
||||
static bool extra_warn;
|
||||
static bool extra_warn __attribute__((unused));
|
||||
|
||||
bool target_is_big_endian;
|
||||
bool host_is_big_endian;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user