linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Coccinelle: remove incorrect -include option transformation
@ 2015-09-22 12:48 Andrzej Hajda
  2015-09-22 12:58 ` Julia Lawall
  2015-09-22 13:00 ` Julia Lawall
  0 siblings, 2 replies; 8+ messages in thread
From: Andrzej Hajda @ 2015-09-22 12:48 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrzej Hajda, Bartlomiej Zolnierkiewicz, Marek Szyprowski,
	Julia Lawall, Gilles Muller, Nicolas Palix, Michal Marek,
	moderated list:COCCINELLE/Semantic Patches (SmPL)

kbuild/gcc uses -include option to include files and -I to provide paths for
#include <> directive. The same is true for spatch.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
---
 scripts/coccicheck | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/coccicheck b/scripts/coccicheck
index bbf901a..6d84b05 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -30,7 +30,6 @@ FLAGS="$SPFLAGS --very-quiet"
 # spatch only allows include directories with the syntax "-I include"
 # while gcc also allows "-Iinclude" and "-include include"
 COCCIINCLUDE=${LINUXINCLUDE//-I/-I }
-COCCIINCLUDE=${COCCIINCLUDE//-include/-I}
 
 if [ "$C" = "1" -o "$C" = "2" ]; then
     ONLINE=1
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-26 20:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-22 12:48 [PATCH] Coccinelle: remove incorrect -include option transformation Andrzej Hajda
2015-09-22 12:58 ` Julia Lawall
2015-09-22 13:09   ` Andrzej Hajda
2015-09-22 13:15     ` [PATCH v2] Coccinelle: fix " Andrzej Hajda
2015-09-22 13:27       ` Julia Lawall
2015-10-26 20:34         ` Michal Marek
2015-09-22 13:23     ` [PATCH] Coccinelle: remove " Julia Lawall
2015-09-22 13:00 ` Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).