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
1182 1182
1183PHONY += __headers1183PHONY += __headers
1184__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts1184__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts
1185 $(Q)$(MAKE) $(build)=scripts build_unifdef1185 $(Q)$(MAKE) $(build)=scripts scripts/unifdef
1186 1186
1187PHONY += headers_install1187PHONY += headers_install
1188headers_install: __headers1188headers_install: __headers
scripts/Makefile+0−5
@@ -31,11 +31,6 @@ always := $(hostprogs-y) $(hostprogs-m) · 30 unmodified lines
31# The following hostprogs-y programs are only build on demand31# The following hostprogs-y programs are only build on demand
32hostprogs-y += unifdef32hostprogs-y += unifdef
33 33
34# These targets are used internally to avoid "is up to date" messages
35PHONY += build_unifdef
36build_unifdef: $(obj)/unifdef
37 @:
38
39subdir-$(CONFIG_GCC_PLUGINS) += gcc-plugins34subdir-$(CONFIG_GCC_PLUGINS) += gcc-plugins
40subdir-$(CONFIG_MODVERSIONS) += genksyms35subdir-$(CONFIG_MODVERSIONS) += genksyms
41subdir-$(CONFIG_SECURITY_SELINUX) += selinux36subdir-$(CONFIG_SECURITY_SELINUX) += selinux