History

Merge tag 'kbuild-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull more Kbuild updates from Masahiro Yamada: - Convert sh and sparc to use generic shell scripts to generate the syscall headers - refactor .gitignore files - Update kernel/config_data.gz only when the content of the .config is really changed, which avoids the unneeded re-link of vmlinux - move "remove stale files" workarounds to scripts/remove-stale-files - suppress unused-but-set-variable warnings by default for Clang as well - fix locale setting LANG=C to LC_ALL=C - improve 'make distclean' - always keep intermediate objects from scripts/link-vmlinux.sh - move IF_ENABLED out of <linux/kconfig.h> to make it self-contained - misc cleanups * tag 'kbuild-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (25 commits) linux/kconfig.h: replace IF_ENABLED() with PTR_IF() in <linux/kernel.h> kbuild: Don't remove link-vmlinux temporary files on exit/signal kbuild: remove the unneeded comments for external module builds kbuild: make distclean remove tag files in sub-directories kbuild: make distclean work against $(objtree) instead of $(srctree) kbuild: refactor modname-multi by using suffix-search kbuild: refactor fdtoverlay rule kbuild: parameterize the .o part of suffix-search arch: use cross_compiling to check whether it is a cross build or not kbuild: remove ARCH=sh64 support from top Makefile .gitignore: prefix local generated files with a slash kbuild: replace LANG=C with LC_ALL=C Makefile: Move -Wno-unused-but-set-variable out of GCC only block kbuild: add a script to remove stale generated files kbuild: update config_data.gz only when the content of .config is changed .gitignore: ignore only top-level modules.builtin .gitignore: move tags and TAGS close to other tag files kernel/.gitgnore: remove stale timeconst.h and hz.bc usr/include: refactor .gitignore genksyms: fix stale comment ...

Linus Torvalds committed 5 years ago

Commit 0f979d82 parents ab159ac 0ab143861 files · +183 −342Browse files

Showing the changes to kernel (2 of 61 files). Show all

Unified · Split

2 files
  1. kernel/.gitignore +2 −3
  2. kernel/Makefile +7 −2
kernel/.gitignore+2−3
@@ -1,4 +1,3 @@
11 # SPDX-License-Identifier: GPL-2.0-only
2−kheaders.md5
3−timeconst.h
4−hz.bc
2+/config_data
3+/kheaders.md5
kernel/Makefile+7−2
@@ -142,10 +142,15 @@ obj-$(CONFIG_SCF_TORTURE_TEST) += scftorture.o · 141 unmodified lines
142142
143143 $(obj)/configs.o: $(obj)/config_data.gz
144144
145−targets += config_data.gz
146−$(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE
145+targets += config_data config_data.gz
146+$(obj)/config_data.gz: $(obj)/config_data FORCE
147147 $(call if_changed,gzip)
148148
149+filechk_cat = cat $<
150+
151+$(obj)/config_data: $(KCONFIG_CONFIG) FORCE
152+ $(call filechk,cat)
153+
149154 $(obj)/kheaders.o: $(obj)/kheaders_data.tar.xz
150155
151156 quiet_cmd_genikh = CHK $(obj)/kheaders_data.tar.xz

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t