Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/mips/beri/loader/Makefile
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
vers.c: ${.CURDIR}/../../../common/newvers.sh ${.CURDIR}/version | vers.c: ${.CURDIR}/../../../common/newvers.sh ${.CURDIR}/version | ||||
sh ${.CURDIR}/../../../common/newvers.sh ${.CURDIR}/version \ | sh ${.CURDIR}/../../../common/newvers.sh ${.CURDIR}/version \ | ||||
${NEWVERSWHAT} | ${NEWVERSWHAT} | ||||
loader.help: help.common help.mips | loader.help: help.common help.mips | ||||
cat ${.ALLSRC} | \ | cat ${.ALLSRC} | \ | ||||
awk -f ${.CURDIR}/../../../common/merge_help.awk > ${.TARGET} | awk -f ${.CURDIR}/../../../common/merge_help.awk > ${.TARGET} | ||||
.if ${MK_FORTH} != "no" | |||||
.PATH: ${.CURDIR}/../../../forth | .PATH: ${.CURDIR}/../../../forth | ||||
.include "${.CURDIR}/../../../forth/Makefile.inc" | .include "${.CURDIR}/../../../forth/Makefile.inc" | ||||
FILES+= loader.rc menu.rc | FILES+= loader.rc menu.rc | ||||
.endif | |||||
rpaulo: Extra empty line. | |||||
.if defined(LOADER_USB_SUPPORT) | .if defined(LOADER_USB_SUPPORT) | ||||
# Do garbage collection | # Do garbage collection | ||||
CFLAGS+= -ffunction-sections -fdata-sections | CFLAGS+= -ffunction-sections -fdata-sections | ||||
CFLAGS+= -Wl,--gc-sections | CFLAGS+= -Wl,--gc-sections | ||||
# Link USB BOOT library | # Link USB BOOT library | ||||
LDADD+= ${.OBJDIR}/../../../usb/libusbboot.a | LDADD+= ${.OBJDIR}/../../../usb/libusbboot.a | ||||
CFLAGS+= -I${.CURDIR}/../../../usb | CFLAGS+= -I${.CURDIR}/../../../usb | ||||
# Define USB SUPPORT | # Define USB SUPPORT | ||||
CFLAGS+= -DLOADER_USB_SUPPORT | CFLAGS+= -DLOADER_USB_SUPPORT | ||||
.endif | .endif | ||||
all: loader | all: loader | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |
Extra empty line.