diff options
author | Vincent Mailhol <mailhol.vincent@wanadoo.fr> | 2022-06-10 23:30:05 +0900 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-06-11 17:11:01 +0200 |
commit | 0c7e115138830af77d480ee9185bbdc23c6e73a4 (patch) | |
tree | 941d87fa63001eb5402c0127fb1442f3781ce649 /Documentation/security/IMA-templates.rst | |
parent | 6a5286442fb64a2d512e4059004441e59c786ebc (diff) |
can: bittiming: move bittiming calculation functions to calc_bittiming.c
The canonical way to select or deselect an object during compilation
is to use this pattern in the relevant Makefile:
bar-$(CONFIG_FOO) := foo.o
bittiming.c instead uses some #ifdef CONFIG_CAN_CALC_BITTIMG.
Create a new file named calc_bittiming.c with all the functions which
are conditionally compiled with CONFIG_CAN_CALC_BITTIMG and modify the
Makefile according to above pattern.
Link: https://lore.kernel.org/all/20220610143009.323579-4-mailhol.vincent@wanadoo.fr
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Acked-by: Max Staudt <max@enpas.org>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation/security/IMA-templates.rst')
0 files changed, 0 insertions, 0 deletions