aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-04 19:14:00 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-15 19:57:01 +0900
commit2b8481be3cc3b8dfb2704f4d33668d930474fac8 (patch)
tree5912bc951c7d42786856fd405fb1e5286bf43b6c
parentkbuild: add CONFIG_HEADERS_INSTALL and loosen the dependency of samples (diff)
downloadwireguard-linux-2b8481be3cc3b8dfb2704f4d33668d930474fac8.tar.xz
wireguard-linux-2b8481be3cc3b8dfb2704f4d33668d930474fac8.zip
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. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--Makefile2
-rw-r--r--scripts/Makefile5
2 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index f3fd2a549970..6abcacface9c 100644
--- a/Makefile
+++ b/Makefile
@@ -1182,7 +1182,7 @@ PHONY += archheaders archscripts
PHONY += __headers
__headers: $(version_h) scripts_basic uapi-asm-generic archheaders archscripts
- $(Q)$(MAKE) $(build)=scripts build_unifdef
+ $(Q)$(MAKE) $(build)=scripts scripts/unifdef
PHONY += headers_install
headers_install: __headers
diff --git a/scripts/Makefile b/scripts/Makefile
index 9d442ee050bd..16bcb8087899 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -31,11 +31,6 @@ always := $(hostprogs-y) $(hostprogs-m)
# The following hostprogs-y programs are only build on demand
hostprogs-y += unifdef
-# These targets are used internally to avoid "is up to date" messages
-PHONY += build_unifdef
-build_unifdef: $(obj)/unifdef
- @:
-
subdir-$(CONFIG_GCC_PLUGINS) += gcc-plugins
subdir-$(CONFIG_MODVERSIONS) += genksyms
subdir-$(CONFIG_SECURITY_SELINUX) += selinux