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.

kbuild: unify no-compiler-targets and no-sync-config-targets

Now that vdso_install does not depend on any in-tree build artifact,
it no longer needs a compiler, making no-compiler-targets the same
as no-sync-config-targets.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>

+2 -11
+2 -11
Makefile
··· 277 277 $(version_h) headers headers_% archheaders archscripts \ 278 278 %asm-generic kernelversion %src-pkg dt_binding_check \ 279 279 outputmakefile rustavailable rustfmt rustfmtcheck 280 - # Installation targets should not require compiler. Unfortunately, vdso_install 281 - # is an exception where build artifacts may be updated. This must be fixed. 282 - no-compiler-targets := $(no-dot-config-targets) install dtbs_install \ 283 - headers_install modules_install modules_sign kernelrelease image_name 284 280 no-sync-config-targets := $(no-dot-config-targets) %install modules_sign kernelrelease \ 285 281 image_name 286 282 single-targets := %.a %.i %.ko %.lds %.ll %.lst %.mod %.o %.rsi %.s %.symtypes %/ ··· 284 288 config-build := 285 289 mixed-build := 286 290 need-config := 1 287 - need-compiler := 1 288 291 may-sync-config := 1 289 292 single-build := 290 293 ··· 293 298 endif 294 299 endif 295 300 296 - ifneq ($(filter $(no-compiler-targets), $(MAKECMDGOALS)),) 297 - ifeq ($(filter-out $(no-compiler-targets), $(MAKECMDGOALS)),) 298 - need-compiler := 299 - endif 300 - endif 301 - 302 301 ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),) 303 302 ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),) 304 303 may-sync-config := 305 304 endif 306 305 endif 306 + 307 + need-compiler := $(may-sync-config) 307 308 308 309 ifneq ($(KBUILD_EXTMOD),) 309 310 may-sync-config :=