History

kbuild: remove build_unifdef target in scripts/Makefile

Since commit 2aedcd098a94 ("kbuild: suppress annoying "... is up to date." message"), if_changed and friends nicely suppress "is up to date" messages. We do not need per-Makefile tricks.

Masahiro Yamada committed 7 years ago

Commit 2b8481b1 parent e949f4c2 files · +1 −6Browse files

Unified · Split

2 files
  1. Makefile +1 −1
  2. scripts/Makefile +0 −5
Makefile+1−1
@@ -1182,7 +1182,7 @@ PHONY += archheaders archscripts · 1181 unmodified lines
11821182
11831183 PHONY += __headers
11841184 __headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts
1185− $(Q)$(MAKE) $(build)=scripts build_unifdef
1185+ $(Q)$(MAKE) $(build)=scripts scripts/unifdef
11861186
11871187 PHONY += headers_install
11881188 headers_install: __headers
scripts/Makefile+0−5
@@ -31,11 +31,6 @@ always := $(hostprogs-y) $(hostprogs-m) · 30 unmodified lines
3131 # The following hostprogs-y programs are only build on demand
3232 hostprogs-y += unifdef
3333
34−# These targets are used internally to avoid "is up to date" messages
35−PHONY += build_unifdef
36−build_unifdef: $(obj)/unifdef
37− @:
38−
3934 subdir-$(CONFIG_GCC_PLUGINS) += gcc-plugins
4035 subdir-$(CONFIG_MODVERSIONS) += genksyms
4136 subdir-$(CONFIG_SECURITY_SELINUX) += selinux