Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 26 Jun 2016 17:36:43 +0200
From: Emese Revfy <re.emese@...il.com>
To: keescook@...omium.org
Cc: mmarek@...e.com, linux-kbuild@...r.kernel.org,
 kernel-hardening@...ts.openwall.com, pageexec@...email.hu
Subject: [PATCH] Automate make rule generation for gcc plugin objects


Reported-by: PaX Team <pageexec@...email.hu>
Signed-off-by: Emese Revfy <re.emese@...il.com>
---
 scripts/gcc-plugins/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/scripts/gcc-plugins/Makefile b/scripts/gcc-plugins/Makefile
index a3f8ca4a..898449d 100644
--- a/scripts/gcc-plugins/Makefile
+++ b/scripts/gcc-plugins/Makefile
@@ -20,9 +20,6 @@ endif
 
 $(HOSTLIBS)-y := $(GCC_PLUGIN)
 always := $($(HOSTLIBS)-y)
-
-cyc_complexity_plugin-objs := cyc_complexity_plugin.o
-sancov_plugin-objs := sancov_plugin.o
-latent_entropy_plugin-objs := latent_entropy_plugin.o
+$(foreach p,$($(HOSTLIBS)-y:%.so=%),$(eval $(p)-objs := $(p).o))
 
 clean-files += *.so
-- 
2.8.1

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.