Skip to content

Commit 2b8481b

Browse files
committed
kbuild: remove build_unifdef target in scripts/Makefile
Since commit 2aedcd0 ("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. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent e949f4c commit 2b8481b

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1182,7 +1182,7 @@ PHONY += archheaders archscripts
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‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ always := $(hostprogs-y) $(hostprogs-m)
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

0 commit comments

Comments
 (0)