Changeset View
Changeset View
Standalone View
Standalone View
stand/i386/gptboot/Makefile
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | gptldr.out: gptldr.o | ||||
${LD} ${LD_FLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} gptldr.o | ${LD} ${LD_FLAGS} -e start -Ttext ${ORG1} -o ${.TARGET} gptldr.o | ||||
CLEANFILES+= gptboot.bin gptboot.out gptboot.o sio.o crc32.o drv.o \ | CLEANFILES+= gptboot.bin gptboot.out gptboot.o sio.o crc32.o drv.o \ | ||||
cons.o ${OPENCRYPTO_XTS} | cons.o ${OPENCRYPTO_XTS} | ||||
gptboot.bin: gptboot.out | gptboot.bin: gptboot.out | ||||
${OBJCOPY} -S -O binary gptboot.out ${.TARGET} | ${OBJCOPY} -S -O binary gptboot.out ${.TARGET} | ||||
gptboot.out: ${BTXCRT} gptboot.o sio.o crc32.o drv.o cons.o ${OPENCRYPTO_XTS} | gptboot.out: ${BTXCRT} gptboot.o sio.o crc32.o drv.o cons.o ufsread.o ${OPENCRYPTO_XTS} | ||||
${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBGELIBOOT} ${LIBSA32} | ${LD} ${LD_FLAGS} -Ttext ${ORG2} -o ${.TARGET} ${.ALLSRC} ${LIBGELIBOOT} ${LIBSA32} | ||||
SRCS+= ufsread.c | |||||
CLEANFILES+= ufsread.o | |||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> | ||||
# XXX: clang integrated-as doesn't grok .codeNN directives yet | # XXX: clang integrated-as doesn't grok .codeNN directives yet | ||||
CFLAGS.gptldr.S= ${CLANG_NO_IAS} | CFLAGS.gptldr.S= ${CLANG_NO_IAS} |