Changeset View
Changeset View
Standalone View
Standalone View
stand/defs.mk
Show First 20 Lines • Show All 169 Lines • ▼ Show 20 Lines | |||||
# 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" | .if ${MACHINE_CPUARCH} == "mips" | ||||
CFLAGS+= -G0 -fno-pic -mno-abicalls | CFLAGS+= -G0 -fno-pic -mno-abicalls | ||||
.endif | .endif | ||||
.if ${MK_LOADER_FORCE_LE} != "no" | |||||
.if ${MACHINE_ARCH} == "powerpc64" | |||||
CFLAGS+= -mlittle-endian | |||||
.endif | |||||
.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 |