aboutsummaryrefslogtreecommitdiff
path: root/share/mk/src.init.linux.mk
blob: 536f32853d3c12568978017e6b43b5ab10326c1c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# We want to build some host tools (eg makefs, mkimg) for Linux
# This only gets included during DIRDEPS_BUILD when MACHINE is "host"
# or "host32"

CFLAGS+= -I${SRCTOP}/tools/build/cross-build/include/linux

WARNS= 0

.ifdef PROG
LOCAL_LIBRARIES+= bsd egacy
LIBADD+= egacy m
.endif

# Bring in the full GNU namespace
CFLAGS+= -D_GNU_SOURCE

# for sane staging behavior
LN= ln -L