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

# $NetBSD: Makefile,v 1.12 2019/02/17 04:05:47 rin Exp $

#
# At some point this needs to turn into linux.kmod and a proper home for it
# found.  For now pickup the linux_work.c from the (increasingly poorly
# named) common area.
#

.include "../Makefile.inc"

.PATH: ${S}/external/bsd/common/linux
.PATH: ${S}/external/bsd/drm2/linux

CPPFLAGS+=	-I${S}/external/bsd/common/include
CPPFLAGS+=	-I${S}/external/bsd/drm2/include

# XXX Kludge!
CPPFLAGS+=	-DDIAGNOSTIC

KMOD=	drmkms_linux

SRCS+=	linux_atomic64.c
SRCS+=	linux_dma_buf.c
SRCS+=	linux_dmi.c
SRCS+=	linux_fence.c
SRCS+=	linux_i2c.c
SRCS+=	linux_idr.c
SRCS+=	linux_kmap.c
SRCS+=	linux_list_sort.c
SRCS+=	linux_module.c
SRCS+=	linux_rcu.c
SRCS+=	linux_reservation.c
SRCS+=	linux_work.c		# XXX Move me to linux.kmod.
SRCS+=	linux_writecomb.c
SRCS+=	linux_ww_mutex.c

WARNS=	3

.include <bsd.kmodule.mk>