All of lore.kernel.org
 help / color / mirror / Atom feed
* Documentation: Coccinelle: Checking information around the make parameter “C=2”
@ 2020-07-03 19:21 ` Markus Elfring
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Elfring @ 2020-07-03 19:21 UTC (permalink / raw)
  To: linux-doc, Coccinelle
  Cc: kernel-janitors, LKML, Jonathan Corbet, Julia Lawall,
	Gilles Muller, Masahiro Yamada, Matthew Wilcox, Michal Marek,
	Nicolas Palix, Randy Dunlap

Hello,

I have taken another look also at places from two information sources.

A)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Makefile?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n201

“…
# Use 'make C=1' to enable checking of only re-compiled files.
# Use 'make C=2' to enable checking of *all* source files, regardless
# of whether they are re-compiled or not.
…”

B)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/dev-tools/coccinelle.rst?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n182

“…
To check only newly edited code, use the value 2 for the C flag, i.e.::
…”


How good do these description variants fit together?

Regards,
Markus

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

* Documentation: Coccinelle: Checking information aroun =?UTF-8?B?ZCB0aGUgbWFrZSBwYXJh
@ 2020-07-03 19:21 ` Markus Elfring
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Elfring @ 2020-07-03 19:21 UTC (permalink / raw)
  To: linux-doc, Coccinelle
  Cc: kernel-janitors, LKML, Jonathan Corbet, Julia Lawall,
	Gilles Muller, Masahiro Yamada, Matthew Wilcox, Michal Marek,
	Nicolas Palix, Randy Dunlap

Hello,

I have taken another look also at places from two information sources.

A)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Makefile?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n201

“…
# Use 'make C=1' to enable checking of only re-compiled files.
# Use 'make C=2' to enable checking of *all* source files, regardless
# of whether they are re-compiled or not.
…”

B)
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/dev-tools/coccinelle.rst?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n182

“…
To check only newly edited code, use the value 2 for the C flag, i.e.::
…”


How good do these description variants fit together?

Regards,
Markus

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

* Re: kbuild: Improve descriptions for the make parameter “C”
  2020-07-03 19:21 ` Documentation: Coccinelle: Checking information aroun =?UTF-8?B?ZCB0aGUgbWFrZSBwYXJh Markus Elfring
@ 2020-07-07 14:16   ` Markus Elfring
  -1 siblings, 0 replies; 4+ messages in thread
From: Markus Elfring @ 2020-07-07 14:16 UTC (permalink / raw)
  To: linux-doc, linux-kbuild
  Cc: Coccinelle, kernel-janitors, LKML, Jonathan Corbet, Julia Lawall,
	Gilles Muller, Masahiro Yamada, Matthew Wilcox, Michal Marek,
	Nicolas Palix, Randy Dunlap

> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Makefile?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n201
>
> “…
> # Use 'make C=1' to enable checking of only re-compiled files.
> # Use 'make C=2' to enable checking of *all* source files, regardless
> # of whether they are re-compiled or not.
> …”

I got the impression that source files would be checked according to
such build parameters before a corresponding compilation try.
How do you think about to adjust descriptions which were added with
the commit 1c7bafe7206d928eaccbcbd08d868733e0fb7054 ("kbuild: clarify
"make C=" build option")?
https://lkml.org/lkml/2006/9/24/176
https://lore.kernel.org/patchwork/patch/65119/
https://lore.kernel.org/lkml/115913270694-git-send-email-sam@ravnborg.org/

Regards,
Markus

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

* Re: kbuild: Improve descriptions for the make parameter “C”
@ 2020-07-07 14:16   ` Markus Elfring
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Elfring @ 2020-07-07 14:16 UTC (permalink / raw)
  To: linux-doc, linux-kbuild
  Cc: Coccinelle, kernel-janitors, LKML, Jonathan Corbet, Julia Lawall,
	Gilles Muller, Masahiro Yamada, Matthew Wilcox, Michal Marek,
	Nicolas Palix, Randy Dunlap

> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Makefile?id=cdd3bb54332f82295ed90cd0c09c78cd0c0ee822#n201
>
> “…
> # Use 'make C=1' to enable checking of only re-compiled files.
> # Use 'make C=2' to enable checking of *all* source files, regardless
> # of whether they are re-compiled or not.
> …”

I got the impression that source files would be checked according to
such build parameters before a corresponding compilation try.
How do you think about to adjust descriptions which were added with
the commit 1c7bafe7206d928eaccbcbd08d868733e0fb7054 ("kbuild: clarify
"make C=" build option")?
https://lkml.org/lkml/2006/9/24/176
https://lore.kernel.org/patchwork/patch/65119/
https://lore.kernel.org/lkml/115913270694-git-send-email-sam@ravnborg.org/

Regards,
Markus

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

end of thread, other threads:[~2020-07-07 14:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 19:21 Documentation: Coccinelle: Checking information around the make parameter “C=2” Markus Elfring
2020-07-03 19:21 ` Documentation: Coccinelle: Checking information aroun =?UTF-8?B?ZCB0aGUgbWFrZSBwYXJh Markus Elfring
2020-07-07 14:16 ` kbuild: Improve descriptions for the make parameter “C” Markus Elfring
2020-07-07 14:16   ` Markus Elfring

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.