Changeset View
Changeset View
Standalone View
Standalone View
stand/defs.mk
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Lines | |||||
# The boot loader build uses dd status=none, where possible, for reproducible | # The boot loader build uses dd status=none, where possible, for reproducible | ||||
# build output (since performance varies from run to run). Trouble is that | # build output (since performance varies from run to run). Trouble is that | ||||
# option was recently (10.3) added to FreeBSD and is non-standard. Only use it | # option was recently (10.3) added to FreeBSD and is non-standard. Only use it | ||||
# when this test succeeds rather than require dd to be a bootstrap tool. | # when this test succeeds rather than require dd to be a bootstrap tool. | ||||
DD_NOSTATUS!=(dd status=none count=0 2> /dev/null && echo status=none) || true | DD_NOSTATUS!=(dd status=none count=0 2> /dev/null && echo status=none) || true | ||||
DD=dd ${DD_NOSTATUS} | DD=dd ${DD_NOSTATUS} | ||||
.if ${MACHINE_CPUARCH} == "mips" | |||||
CFLAGS+= -G0 -fno-pic -mno-abicalls | |||||
.endif | |||||
# | # | ||||
# Have a sensible default | # Have a sensible default | ||||
# | # | ||||
.if ${MK_LOADER_LUA} == "yes" | .if ${MK_LOADER_LUA} == "yes" | ||||
LOADER_DEFAULT_INTERP?=lua | LOADER_DEFAULT_INTERP?=lua | ||||
.elif ${MK_FORTH} == "yes" | .elif ${MK_FORTH} == "yes" | ||||
LOADER_DEFAULT_INTERP?=4th | LOADER_DEFAULT_INTERP?=4th | ||||
.else | .else | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |