[PATCH] kbuild/gcc-plugin: drop randomize_layout_hash.h from targets

From: Cao jin
Date: Wed Jan 31 2018 - 01:57:54 EST


randomize_layout_hash.h is not used in plugin compilation, but locates in
include/generated/

Signed-off-by: Cao jin <caoj.fnst@xxxxxxxxxxxxxx>
---
scripts/gcc-plugins/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile
index e2ff425f4c7e..d3fff33cc996 100644
--- a/scripts/gcc-plugins/Makefile
+++ b/scripts/gcc-plugins/Makefile
@@ -25,7 +25,7 @@ cmd_create_randomize_layout_seed = \
$(CONFIG_SHELL) $(srctree)/$(src)/gen-random-seed.sh $@ $(objtree)/include/generated/randomize_layout_hash.h
$(objtree)/$(obj)/randomize_layout_seed.h: FORCE
$(call if_changed,create_randomize_layout_seed)
-targets = randomize_layout_seed.h randomize_layout_hash.h
+targets = randomize_layout_seed.h

$(HOSTLIBS)-y := $(foreach p,$(GCC_PLUGIN),$(if $(findstring /,$(p)),,$(p)))
always := $($(HOSTLIBS)-y)
--
2.14.3