xref: /freebsd/share/mk/src.init.linux.mk (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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# or "host32"
4
5CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/linux
6
7WARNS= 0
8
9.ifdef PROG
10LOCAL_LIBRARIES+= bsd egacy
11LIBADD+= egacy m
12.endif
13
14# Bring in the full GNU namespace
15CFLAGS+= -D_GNU_SOURCE
16
17# for sane staging behavior
18LN= ln -L
19