Makefile (7a739ce51dca77184e5fc7b4ad5696b32a5c9422) | Makefile (e949f4c2d6a3df2b7fd00e56c0f081b15284906f) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2VERSION = 5 3PATCHLEVEL = 2 4SUBLEVEL = 0 5EXTRAVERSION = -rc4 6NAME = Golden Lions 7 8# *DOCUMENTATION* --- 1039 unchanged lines hidden (view full) --- 1048 $(CONFIG_SHELL) $< $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_vmlinux) ; \ 1049 $(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true) 1050 1051vmlinux: scripts/link-vmlinux.sh autoksyms_recursive $(vmlinux-deps) FORCE 1052 +$(call if_changed,link-vmlinux) 1053 1054targets := vmlinux 1055 | 1# SPDX-License-Identifier: GPL-2.0 2VERSION = 5 3PATCHLEVEL = 2 4SUBLEVEL = 0 5EXTRAVERSION = -rc4 6NAME = Golden Lions 7 8# *DOCUMENTATION* --- 1039 unchanged lines hidden (view full) --- 1048 $(CONFIG_SHELL) $< $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_vmlinux) ; \ 1049 $(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true) 1050 1051vmlinux: scripts/link-vmlinux.sh autoksyms_recursive $(vmlinux-deps) FORCE 1052 +$(call if_changed,link-vmlinux) 1053 1054targets := vmlinux 1055 |
1056# Some samples need headers_install. 1057samples: headers_install 1058 | |
1059# The actual objects are generated when descending, 1060# make sure no implicit rule kicks in 1061$(sort $(vmlinux-deps)): $(vmlinux-dirs) ; 1062 1063# Handle descending into subdirectories listed in $(vmlinux-dirs) 1064# Preset locale variables to speed up the build process. Limit locale 1065# tweaks to this spot to avoid wrong language settings when running 1066# make menuconfig etc. --- 127 unchanged lines hidden (view full) --- 1194 $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include 1195 $(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi dst=include 1196 1197PHONY += headers_check 1198headers_check: headers_install 1199 $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include HDRCHECK=1 1200 $(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi dst=include HDRCHECK=1 1201 | 1056# The actual objects are generated when descending, 1057# make sure no implicit rule kicks in 1058$(sort $(vmlinux-deps)): $(vmlinux-dirs) ; 1059 1060# Handle descending into subdirectories listed in $(vmlinux-dirs) 1061# Preset locale variables to speed up the build process. Limit locale 1062# tweaks to this spot to avoid wrong language settings when running 1063# make menuconfig etc. --- 127 unchanged lines hidden (view full) --- 1191 $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include 1192 $(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi dst=include 1193 1194PHONY += headers_check 1195headers_check: headers_install 1196 $(Q)$(MAKE) $(hdr-inst)=include/uapi dst=include HDRCHECK=1 1197 $(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi dst=include HDRCHECK=1 1198 |
1199ifdef CONFIG_HEADERS_INSTALL 1200prepare: headers_install 1201endif 1202 |
|
1202ifdef CONFIG_HEADERS_CHECK 1203all: headers_check 1204endif 1205 1206# --------------------------------------------------------------------------- 1207# Kernel selftest 1208 1209PHONY += kselftest --- 529 unchanged lines hidden (view full) --- 1739 $(Q)$(MAKE) $(build)=$(build-dir) $(build-target) 1740%.ko: %.o 1741 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost 1742 1743# Modules 1744PHONY += / 1745/: ./ 1746 | 1203ifdef CONFIG_HEADERS_CHECK 1204all: headers_check 1205endif 1206 1207# --------------------------------------------------------------------------- 1208# Kernel selftest 1209 1210PHONY += kselftest --- 529 unchanged lines hidden (view full) --- 1740 $(Q)$(MAKE) $(build)=$(build-dir) $(build-target) 1741%.ko: %.o 1742 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost 1743 1744# Modules 1745PHONY += / 1746/: ./ 1747 |
1747samples/: headers_install | |
1748%/: prepare FORCE 1749 $(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir) 1750 1751# FIXME Should go into a make.lib or something 1752# =========================================================================== 1753 1754quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs))) 1755 cmd_rmdirs = rm -rf $(rm-dirs) --- 29 unchanged lines hidden --- | 1748%/: prepare FORCE 1749 $(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir) 1750 1751# FIXME Should go into a make.lib or something 1752# =========================================================================== 1753 1754quiet_cmd_rmdirs = $(if $(wildcard $(rm-dirs)),CLEAN $(wildcard $(rm-dirs))) 1755 cmd_rmdirs = rm -rf $(rm-dirs) --- 29 unchanged lines hidden --- |