freebsd-skq/stand/uboot/fdt/Makefile
imp ce1dad8f15 Eliminate bsd.stand.mk and -fPIC 32-bit intel builds
OK. We don't really need a bsd.stand.mk, and it was causing a -fPIC
for the toolchain to be added (bogusly) when building on amd64. Pull
all relevant defs back into defs.mk and delete bsd.stand.mk.

This saves about 15-20k on i386 loader and zfsloader which when
combined with Lua give us a lot more stack space in those constrained
environments.
2018-02-16 00:17:32 +00:00

22 lines
295 B
Makefile

# $FreeBSD$
.include <bsd.init.mk>
.PATH: ${LDRSRC}
LIB= uboot_fdt
WARNS?= 2
SRCS= uboot_fdt.c
# U-Boot library headers
CFLAGS+= -I${UBOOTSRC}/lib
# libfdt headers
CFLAGS+= -I${FDTSRC}
# Pick up the bootstrap header for some interface items
CFLAGS+= -I${LDRSRC}
.include <bsd.lib.mk>