summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/boot/sparc64/boot1/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/boot/sparc64/boot1/Makefile b/sys/boot/sparc64/boot1/Makefile
index 8f6bf7d..f152c74 100644
--- a/sys/boot/sparc64/boot1/Makefile
+++ b/sys/boot/sparc64/boot1/Makefile
@@ -5,15 +5,15 @@ BOOTBLOCKBASE= 0x4000
CFLAGS= -W -Wall -I../../ -I../../common/ -Os \
-DBOOTBLOCKBASE=${BOOTBLOCKBASE} \
-ffreestanding -mno-app-regs -mcmodel=medlow
-OBJ= bootblock.o
+OBJ= boot1.o
-all: bootblock
+all: boot1
-bootblock.o: bootblock.c
+boot1.o: boot1.c
${CC} ${CFLAGS} -c -o ${.TARGET} ${.ALLSRC}
-bootblock: ${OBJ}
- ${LD} -N -Ttext ${BOOTBLOCKBASE} -e main -o bootblock ${OBJ}
- /usr/local/bin/elftoaout bootblock
+boot1: ${OBJ}
+ ${LD} -N -Ttext ${BOOTBLOCKBASE} -e main -o boot1 ${OBJ}
+ /usr/local/bin/elftoaout boot1
clean:
- rm -f *.o bootblock
+ rm -f *.o boot1
OpenPOWER on IntegriCloud