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.o32.mk,v 1.14 2016/10/07 19:10:37 christos Exp $

.if ${MACHINE_ARCH} == "mips64eb"
LD+=		-m elf32btsmip
.else
LD+=		-m elf32ltsmip
.endif
.ifndef MLIBDIR
MLIBDIR=	o32

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

COPTS+=		-mabi=32 -march=mips3
CPUFLAGS+=	-mabi=32 -march=mips3
LDADD+=		-mabi=32 -march=mips3
LDFLAGS+=	-mabi=32 -march=mips3
MKDEPFLAGS+=	-mabi=32 -march=mips3
.endif

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