mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
Some binaries in can-utils depend on features in the socket-can svn
repository. Building with exported headers from an unpatched kernel will fail due to missing symbols or headers. This patch adds two make variables to optionally disable building such binaries, like this: make PROGRAMS_ISOTP= PROGRAMS_CANGW= PROGRAMS_SLCAN= all Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
This commit is contained in:
@@ -53,10 +53,16 @@ CFLAGS = -O2 -Wall -Wno-parentheses -I$(KERNELDIR)/include \
|
|||||||
-DPF_CAN=29 \
|
-DPF_CAN=29 \
|
||||||
-DAF_CAN=PF_CAN
|
-DAF_CAN=PF_CAN
|
||||||
|
|
||||||
PROGRAMS = candump cansniffer cansend canplayer canlogserver cangen\
|
PROGRAMS_ISOTP = isotpdump isotprecv isotpsend isotpsniffer isotptun
|
||||||
canbusload log2long log2asc asc2log bcmserver\
|
PROGRAMS_CANGW = cangw
|
||||||
isotpdump isotprecv isotpsend isotpsniffer isotptun\
|
PROGRAMS_SLCAN = slcan_attach slcand
|
||||||
slcan_attach slcand slcanpty canfdtest cangw
|
PROGRAMS = candump cansniffer cansend canplayer cangen canbusload\
|
||||||
|
log2long log2asc asc2log\
|
||||||
|
canlogserver bcmserver\
|
||||||
|
$(PROGRAMS_ISOTP)\
|
||||||
|
$(PROGRAMS_CANGW)\
|
||||||
|
$(PROGRAMS_SLCAN)\
|
||||||
|
slcanpty canfdtest
|
||||||
|
|
||||||
all: $(PROGRAMS)
|
all: $(PROGRAMS)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user