diff options
Diffstat (limited to 'sys/boot/i386/btx/btxldr/Makefile')
-rw-r--r-- | sys/boot/i386/btx/btxldr/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/boot/i386/btx/btxldr/Makefile b/sys/boot/i386/btx/btxldr/Makefile index 23008a5..358e396 100644 --- a/sys/boot/i386/btx/btxldr/Makefile +++ b/sys/boot/i386/btx/btxldr/Makefile @@ -3,14 +3,13 @@ PROG= btxldr.out INTERNALPROG= NOMAN= -SRCS= btxldr.s +SRCS= btxldr.S CLEANFILES= btxldr -M4?= m4 -M4FLAGS+= -DLOADER_ADDRESS=${LOADER_ADDRESS} +CFLAGS+=-DLOADER_ADDRESS=${LOADER_ADDRESS} .if defined(BTXLDR_VERBOSE) -M4FLAGS+= -DBTXLDR_VERBOSE +CFLAGS+=-DBTXLDR_VERBOSE .endif all: btxldr @@ -20,8 +19,4 @@ LDFLAGS=-N -e start -Ttext ${LOADER_ADDRESS} btxldr: btxldr.out objcopy -S -O binary btxldr.out ${.TARGET} -btxldr.o: btxldr.s - (cd ${.CURDIR}; ${M4} ${M4FLAGS} btxldr.s ) | \ - ${AS} ${AFLAGS} -o ${.TARGET} - .include <bsd.prog.mk> |