route: ensure RTM_IFINFO is sent first when bring interface down/up
[dragonfly.git] / initrd / Makefile.inc
CommitLineData
e79a303f
AL
1NOMAN=
2NOSHARED=
3WARNS?= 6
4
4e60e668 5# Define RESCUE for make and compiler
e79a303f 6CRUNCH_BUILDOPTS+= -DRESCUE
4e60e668
AL
7CRUNCH_CFLAGS+= -DRESCUE
8
9b724c0d
MD
9# Crunchgen needs to use the right libraries. Normally if DESTDIR is
10# specified it should also use the target binaries, however if run
11# from buildworld DESTDIR points to the obj world_x86_64 which is not
12# entirely populated. In that situation we leave the path alone, it
13# will point to the cross tools.
14#
4e60e668 15.if defined(DESTDIR) && ${DESTDIR} != "" && ${DESTDIR} != "/"
9b724c0d 16.if !defined(WORLDBUILD)
4e60e668
AL
17CRUNCH_CFLAGS+= --sysroot=${DESTDIR}
18CRUNCHENV+= PATH=${DESTDIR}/sbin:${DESTDIR}/bin:${DESTDIR}/usr/sbin:${DESTDIR}/usr/bin
9b724c0d 19.endif
4e60e668
AL
20_SHLIBDIRPREFIX= ${DESTDIR}
21.endif
22
23# Apply the same flags to link the crunched binary because crunchgen(1) does
24# not recognize ${CRUNCH_CFLAGS}.
25CRUNCH_LINKOPTS+= ${CRUNCH_CFLAGS}
a4e18c0f
AL
26
27# Use soft links to create the crunched program links
28#CRUNCH_USE_SYMLINKS=