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