xref: /freebsd/share/mk/src.init.linux.mk (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1# We want to build some host tools (eg makefs, mkimg) for Linux
2# This only gets included during DIRDEPS_BUILD when MACHINE is "host"
3
4CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/linux
5
6WARNS= 0
7
8.ifdef PROG
9LOCAL_LIBRARIES+= bsd egacy
10LIBADD+= egacy m
11.endif
12
13# Bring in the full GNU namespace
14CFLAGS+= -D_GNU_SOURCE
15
16