xref: /freebsd/share/mk/src.init.linux.mk (revision f9df609750876be2c054dfac953316f513ccffce)
18561d0b2SSimon J. Gerraty# We want to build some host tools (eg makefs, mkimg) for Linux
28561d0b2SSimon J. Gerraty# This only gets included during DIRDEPS_BUILD when MACHINE is "host"
3*f9df6097SSimon J. Gerraty# or "host32"
48561d0b2SSimon J. Gerraty
58561d0b2SSimon J. GerratyCFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/linux
68561d0b2SSimon J. Gerraty
78561d0b2SSimon J. GerratyWARNS= 0
88561d0b2SSimon J. Gerraty
98561d0b2SSimon J. Gerraty.ifdef PROG
108561d0b2SSimon J. GerratyLOCAL_LIBRARIES+= bsd egacy
118561d0b2SSimon J. GerratyLIBADD+= egacy m
128561d0b2SSimon J. Gerraty.endif
138561d0b2SSimon J. Gerraty
148561d0b2SSimon J. Gerraty# Bring in the full GNU namespace
158561d0b2SSimon J. GerratyCFLAGS+= -D_GNU_SOURCE
168561d0b2SSimon J. Gerraty
17*f9df6097SSimon J. Gerraty# for sane staging behavior
18*f9df6097SSimon J. GerratyLN= ln -L
19