aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-10 12:50:20 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-10-13 12:26:59 -0700
commit6e2a0226532a72738ec304e586e10c44826b8ec5 (patch)
tree945d470fbcac5440ae124e5bd13c929b4579b76a /memdisk
parentfb1635c7c11dda0bf9b99877dff4a70ab4ef7f1d (diff)
downloadsyslinux.git-6e2a0226532a72738ec304e586e10c44826b8ec5.tar.gz
syslinux.git-6e2a0226532a72738ec304e586e10c44826b8ec5.tar.xz
syslinux.git-6e2a0226532a72738ec304e586e10c44826b8ec5.zip
memdisk: updated Makefile rule for e820test
Makefile rule for e820test that actually works. It's suboptimal, and that is just fine. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/memdisk/Makefile b/memdisk/Makefile
index d3023a0e..37767310 100644
--- a/memdisk/Makefile
+++ b/memdisk/Makefile
@@ -104,8 +104,8 @@ memdisk32.elf: $(OBJS32)
memdisk: memdisk16.bin memdisk32.bin postprocess.pl
$(PERL) postprocess.pl $@ memdisk16.bin memdisk32.bin
-e820test: e820func.o msetup.o e820test.o memdisk.o
- $(CC) $(LDFLAGS) -o $@ $^
+e820test: e820test.c e820func.c msetup.c
+ $(CC) -m32 -g -W -Wall -DTEST -o $@ $^
memdisk.o: memdisk.bin
$(LD) -r -b binary -o $@ $<