diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-12-14 15:09:11 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-12-14 15:09:11 -0800 |
commit | 61a81029ee38a684199425ab839956204da8b293 (patch) | |
tree | 0dd61de1ec25d649136b1844c2fba5a92c9e0659 /dos | |
parent | 5cb7ed6d5da9cbeeb328bb62260a242f76884c66 (diff) | |
download | syslinux-61a81029ee38a684199425ab839956204da8b293.tar.gz |
Create libinstaller; actually implement boot-once for extlinux
--once now supported for extlinux; some infrastructure for syslinux
there as well, need implementation in all the various installers,
however.
Diffstat (limited to 'dos')
-rw-r--r-- | dos/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dos/Makefile b/dos/Makefile index 53406b19..1bfc5135 100644 --- a/dos/Makefile +++ b/dos/Makefile @@ -3,13 +3,15 @@ TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX) gcc_ok = $(shell tmpf=$(TMPFILE); if gcc $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \ then echo $(1); else echo $(2); fi; rm -f $$tmpf) -M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-ffreestanding,) $(call gcc_ok,-fno-stack-protector,) +M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-ffreestanding,) \ + $(call gcc_ok,-fno-stack-protector,) \ + $(call gcc_ok,-fno-top-level-reorder,$(call gcc_ok,-fno-unit-at-a-time)) CC = gcc LD = ld -m elf_i386 OBJCOPY = objcopy OPTFLAGS = -g -Os -march=i386 -falign-functions=0 -falign-jumps=0 -falign-loops=0 -fomit-frame-pointer -INCLUDES = -include code16.h -I. -I.. -I../libfat +INCLUDES = -include code16.h -I. -I.. -I../libfat -I ../libinstaller CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -msoft-float $(OPTFLAGS) $(INCLUDES) LDFLAGS = -T com16.ld AR = ar @@ -25,7 +27,7 @@ LIBOBJS = conio.o memcpy.o memset.o skipatou.o atou.o malloc.o free.o \ .SUFFIXES: .c .o .i .s .S .elf .com -VPATH = .:..:../libfat +VPATH = .:..:../libfat:../libinstaller TARGETS = syslinux.com |