Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# $FreeBSD: src/sys/modules/dtrace/sdt/Makefile,v 1.1.4.1 2009/08/03 08:13:06 kensmith Exp $

.include "../Makefile.inc"

.include <bsd.own.mk>

OSNETDIR=${NETBSDSRCDIR}/external/cddl/osnet

.if exists(${OSNETDIR}/dev/cyclic/${MACHINE:S/amd64/i386/})
ARCH=${MACHINE:S/amd64/i386/}
.elif exists(${OSNETDIR}/dev/cyclic/${MACHINE_CPU:S/aarch64/arm/})
ARCH=${MACHINE_CPU:S/aarch64/arm/}
.elif exists(${OSNETDIR}/dev/cyclic/${MACHINE_CPU})
ARCH=${MACHINE_CPU}
.else
.error ${MACHINE} or ${MACHINE_CPU} not supported.
.endif

.PATH: ${OSNETDIR}/dev/cyclic

KMOD=		cyclic
SRCS=		cyclic.c

CPPFLAGS+=	-I${OSNETDIR}/sys \
		-I${OSNETDIR}/dev/cyclic/${ARCH} \
		-I${OSNETDIR}/dist/uts/common

CPPFLAGS+=	-Wno-unknown-pragmas -Wno-cast-qual -Wno-sign-compare

.include <bsd.kmodule.mk>