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: bsd.n32.mk,v 1.2 2021/04/25 18:44:04 christos Exp $

.if !empty(MACHINE_ARCH:M*eb)
LD+=		-m elf32btsmipn32
.else
LD+=		-m elf32ltsmipn32
.endif
.ifndef MLIBDIR
MLIBDIR=	n32

LIBC_MACHINE_ARCH=	${MACHINE_ARCH:S/mipsn/mips/:S/64//}
LIBGCC_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
GOMP_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
XORG_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
BFD_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}

COPTS+=		-mabi=n32
CPUFLAGS+=	-mabi=n32
LDADD+=		-mabi=n32
LDFLAGS+=	-mabi=n32
MKDEPFLAGS+=	-mabi=n32
.endif

.include "${.PARSEDIR}/../../Makefile.compat"