6e4cb2b9ab
CAN stands for Controller Area Network, a broadcast network used in automation and automotive fields. For example, the NMEA2000 standard developped for marine devices uses a CAN network as the link layer. This is an implementation of the linux socketcan API: https://www.kernel.org/doc/Documentation/networking/can.txt you can also see can(4). This adds a new socket family (AF_CAN) and protocol (PF_CAN), as well as the canconfig(8) utility, used to set timing parameter of CAN hardware. Also inclued is a driver for the CAN controller found in the allwinner A20 SoC (I tested it with an Olimex lime2 board, connected with PIC18-based CAN devices). There is also the canloop(4) pseudo-device, which allows to use the socketcan API without CAN hardware. At this time the CANFD part of the linux socketcan API is not implemented. Error frames are not implemented either. But I could get the cansend and canreceive utilities from the canutils package to build and run with minimal changes. tcpudmp(8) can also be used to record frames, which can be decoded with etherreal.
68 lines
1.7 KiB
Makefile
68 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.130 2017/05/27 21:02:55 bouyer Exp $
|
|
# @(#)Makefile 8.5 (Berkeley) 3/31/94
|
|
|
|
# Not ported: XNSrouted enpload scsiformat startslip
|
|
# Missing: icheck ncheck
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR= amrctl apmlabel atactl badsect bioctl brconfig \
|
|
canconfig ccdconfig cgdconfig chown \
|
|
devpubd disklabel dkctl dkscan_bsdlabel dmesg dmctl \
|
|
drvctl fastboot fdisk fsck fsirand gpt ifconfig init ldconfig luactl \
|
|
mbrlabel mknod modload modstat modunload mount \
|
|
newbtconf nologin nvmectl \
|
|
ping pppoectl raidctl reboot rcorder rndctl route routed \
|
|
savecore scan_ffs scsictl shutdown slattach svhlabel swapctl sysctl \
|
|
ttyflags umount veriexecctl wdogctl wsconsctl
|
|
|
|
# support for various file systems
|
|
SUBDIR+= newfs_ext2fs fsck_ext2fs
|
|
SUBDIR+= newfs fsck_ffs fsdb dump restore clri tunefs resize_ffs
|
|
SUBDIR+= newfs_lfs fsck_lfs dump_lfs resize_lfs
|
|
SUBDIR+= newfs_msdos fsck_msdos
|
|
SUBDIR+= newfs_sysvbfs
|
|
SUBDIR+= newfs_udf
|
|
SUBDIR+= newfs_v7fs fsck_v7fs
|
|
SUBDIR+= mount_ados
|
|
SUBDIR+= mount_cd9660
|
|
SUBDIR+= mount_chfs
|
|
SUBDIR+= mount_efs
|
|
SUBDIR+= mount_ext2fs
|
|
SUBDIR+= mount_fdesc
|
|
SUBDIR+= mount_filecore
|
|
SUBDIR+= mount_ffs
|
|
SUBDIR+= mount_hfs
|
|
SUBDIR+= mount_kernfs
|
|
SUBDIR+= mount_lfs
|
|
SUBDIR+= mount_msdos
|
|
SUBDIR+= mount_udf
|
|
SUBDIR+= mount_nfs
|
|
SUBDIR+= mount_nilfs
|
|
SUBDIR+= mount_ntfs
|
|
SUBDIR+= mount_null
|
|
SUBDIR+= mount_overlay
|
|
SUBDIR+= mount_portal
|
|
SUBDIR+= mount_procfs
|
|
SUBDIR+= mount_ptyfs
|
|
SUBDIR+= mount_puffs
|
|
SUBDIR+= mount_sysvbfs
|
|
SUBDIR+= mount_tmpfs
|
|
SUBDIR+= mount_umap
|
|
SUBDIR+= mount_union
|
|
SUBDIR+= mount_v7fs
|
|
|
|
|
|
.if (${USE_INET6} != "no")
|
|
SUBDIR+= ping6
|
|
.endif
|
|
|
|
.if (${MKISCSI} != "no")
|
|
SUBDIR+= iscsictl iscsid
|
|
.endif
|
|
|
|
# IPsec
|
|
SUBDIR+= setkey
|
|
|
|
.include <bsd.subdir.mk>
|