diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-08-19 13:08:30 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-08-19 13:19:58 -0400 |
commit | abca4da0e817e77cacef2cb01805b4c1816adf62 (patch) | |
tree | 03a073c6fe443f92a456b26a65a95ed5c8c67380 /docs/4-Installation-ISOTP.md | |
parent | d9331446fe666ce14c93b915789ded3838916d9e (diff) |
Rework J1939 and ISO TP feature enablingjellyfish_9.99.4jellyfish_9.99.3jellyfish/9.99.4jellyfish/9.99.39.99.49.99.3
Rework the J1939 and ISO TP feature enabling logic in config.cmake to:
- define WITH_FEATURE_J1939 and WITH_FEATURE_ISOTP to default to off,
thus requiring explicit enabling. This is safer than making
assumptions based solely on the presence of the headers at build
time.
- honor WITH_FEATURE_* definitions given on the cmake command-line;
the checks for header presence only over-ride an "ON" value if the
required header is not present.
Bug-AGL: SPEC-3538
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie2b84ac50bbed0bbb775cae49f7f4fbe14f2f8ae
Diffstat (limited to 'docs/4-Installation-ISOTP.md')
-rw-r--r-- | docs/4-Installation-ISOTP.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/4-Installation-ISOTP.md b/docs/4-Installation-ISOTP.md index c8fc31f6..32a767bb 100644 --- a/docs/4-Installation-ISOTP.md +++ b/docs/4-Installation-ISOTP.md @@ -47,4 +47,9 @@ sudo insmod ./net/can/can-isotp.ko ```bash sudo cp include/uapi/linux/can/isotp.h /usr/include/linux/can/ -```
\ No newline at end of file +``` + +## Enable support at build time + +To enable ISO TP support, the binding must be built with -DWITH_FEATURE_ISOTP=ON. +If using the autobuild script, add CONFIGURE_ARGS="-DWITH_FEATURE_ISOTP=ON" to the command used. |