summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386/pxeldr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/i386/pxeldr/Makefile')
-rw-r--r--sys/boot/i386/pxeldr/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/boot/i386/pxeldr/Makefile b/sys/boot/i386/pxeldr/Makefile
index 3d9228f..f628e6d 100644
--- a/sys/boot/i386/pxeldr/Makefile
+++ b/sys/boot/i386/pxeldr/Makefile
@@ -7,21 +7,20 @@ PROG= ${LDR}.out
INTERNALPROG=
FILES= ${BOOT}
MAN= ${BOOT}.8
-SRCS= ${LDR}.s
+SRCS= ${LDR}.S
CLEANFILES= ${BOOT}
BOOT= pxeboot
LDR= pxeldr
ORG= 0x7c00
LOADER= loader
-M4?= m4
.if defined(BOOT_PXELDR_PROBE_KEYBOARD)
-M4FLAGS+= -DPROBE_KEYBOARD
+CFLAGS+=-DPROBE_KEYBOARD
.endif
.if defined(BOOT_PXELDR_ALWAYS_SERIAL)
-M4FLAGS+= -DALWAYS_SERIAL
+CFLAGS+=-DALWAYS_SERIAL
.endif
LOADERBIN= ${.OBJDIR}/../loader/loader.bin
@@ -40,10 +39,6 @@ ${LDR}: ${LDR}.out
LDFLAGS+= -N -e start -Ttext ${ORG}
-${LDR}.o: ${LDR}.s
- (cd ${.CURDIR}; ${M4} ${M4FLAGS} ${LDR}.s) | \
- ${AS} ${AFLAGS} -o ${.TARGET}
-
CLEANFILES+= ${LOADER}
${LOADER}: ${LOADERBIN} ${BTXLDR} ${BTXKERN}
OpenPOWER on IntegriCloud