Description
All,
after my failure to build the latest can-utils code with the plain Makefile here 71b2aec#commitcomment-153191516 , I thought about the dependency to libgps-dev over night.
IMO the problem is not in the Makefile but in the libgps dependency.
The can-utils are self-contained and aim to provide a bunch of tools to interact with the CAN subsystem in the Linux kernel. It can be easily compiled on every system that has a C-compiler and 'make' - even on offline systems with outdated kernel includes.
It has tools to send and receive content to the CAN_RAW/CAN_ISOTP/CAN_J1939
sockets, where things can be stored, replayed and analyzed in detail. We also have J1939 tools
PROGRAMS_J1939 := \
j1939acd \
j1939cat \
j1939spy \
j1939sr \
testj1939
for a while now which is fine.
Recently @olerem contributed J1939 applications that do not fit the idea of "simple tools to interact with the CAN subsystem in the Linux kernel" anymore. There is a good reason why we don't have the socketcand inside the can-utils or a full blown UDS diagnosis application that randomly uses CAN_ISOTP
. So why do we have a j1939-vehicle-position-srv
application in can-utils??
IMHO the J1939 applications (where I also assume that only a minority of CAN users is interested in anyway) got out of control - and I would suggest to create a separate repository (e.g. can-j1939.git or can-j1939-utils.git or j1939-utils.git) to host the recently contributed J1939 applications.