xref: /freebsd/share/mk/src.init.linux.mk (revision 4543ef516683042d46f3bd3bb8a4f3f746e00499)
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