All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cocci] [PATCH] Coccinelle: remove incorrect -include option transformation
@ 2015-09-22 12:48 ` Andrzej Hajda
  0 siblings, 0 replies; 16+ messages in thread
From: Andrzej Hajda @ 2015-09-22 12:48 UTC (permalink / raw)
  To: cocci

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] 16+ messages in thread

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

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.