diff options
Diffstat (limited to 'sys/boot/pc98/btx/btxldr/Makefile')
-rw-r--r-- | sys/boot/pc98/btx/btxldr/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/boot/pc98/btx/btxldr/Makefile b/sys/boot/pc98/btx/btxldr/Makefile index 85b21e1..0cbed49 100644 --- a/sys/boot/pc98/btx/btxldr/Makefile +++ b/sys/boot/pc98/btx/btxldr/Makefile @@ -1,10 +1,9 @@ # $FreeBSD$ -PROG= btxldr.out +PROG= btxldr INTERNALPROG= NOMAN= SRCS= btxldr.S -CLEANFILES= btxldr CFLAGS+=-DPC98 CFLAGS+=-DLOADER_ADDRESS=${LOADER_ADDRESS} @@ -13,11 +12,6 @@ CFLAGS+=-DLOADER_ADDRESS=${LOADER_ADDRESS} CFLAGS+=-DBTXLDR_VERBOSE .endif -all: btxldr - -LDFLAGS=-N -e start -Ttext ${LOADER_ADDRESS} - -btxldr: btxldr.out - objcopy -S -O binary btxldr.out ${.TARGET} +LDFLAGS=-N -e start -Ttext ${LOADER_ADDRESS} -Wl,-S,--oformat,binary .include <bsd.prog.mk> |