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.6 2016/08/04 16:22:40 scole Exp $

S?=	${.CURDIR}/../../../../../

.PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}

LIB= efi
NOPROFILE=# defined
INTERNALLIB=#	defined

CPPFLAGS= -I${EFICPPFLAGS} ${EFIMISCCPPFLAGS}
CPPFLAGS+= -I${.CURDIR}/../include
CPPFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}

# Pick up the bootstrap header for some interface items
CPPFLAGS+= -I${.CURDIR}/../../common

SRCS=  copy.c delay.c efi.c efi_console.c devicename.c bootinfo.c
SRCS+= time.c efifs.c efi_console.c module.c exec.c efinet.c

.if ${MACHINE_ARCH} == "ia64"
SRCS+=	efifpswa.c pal.S
.endif

.include <bsd.own.mk>
.undef DESTDIR
.include <bsd.lib.mk>

lib${LIB}.o:: ${OBJS:O}
	@echo building standard ${LIB} $OBJS} library
	@rm -f lib${LIB}.o
	@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`