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