From 8bd447ad1bf0db6f530daae705c767c92bade057 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 9 Mar 2005 14:04:04 +0000 Subject: [PATCH] Add rule to generate 16-bit version of decompressor --- src/arch/i386/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile index cded46c3..e2dba9bd 100644 --- a/src/arch/i386/Makefile +++ b/src/arch/i386/Makefile @@ -179,10 +179,13 @@ $(BIN)/%.o: arch/i386/firmware/pcbios/%.c $(MAKEDEPS) $(CC) $(CFLAGS) -o $@ -c $< $(BIN)/%.o: arch/i386/firmware/pcbios/%.S $(MAKEDEPS) - $(CPP) $(CFLAGS) -Ui386 -D ASSEMBLY $< | $(AS) $(ASFLAGS) -o $@ + $(CPP) $(CFLAGS) -Ui386 -DASSEMBLY $< | $(AS) $(ASFLAGS) -o $@ $(BIN)/%.o: arch/i386/prefix/%.S $(MAKEDEPS) - $(CPP) $(CFLAGS) -Ui386 -D ASSEMBLY $< | $(AS) $(ASFLAGS) -o $@ + $(CPP) $(CFLAGS) -Ui386 -DASSEMBLY $< | $(AS) $(ASFLAGS) -o $@ + +$(BIN)/%16.o: arch/i386/prefix/%.S $(MAKEDEPS) + $(CPP) $(CFLAGS) -Ui386 -DASSEMBLY -DCODE16 $< | $(AS) $(ASFLAGS) -o $@ # general rule for 16bit .o, may be overridden $(BIN)/%.o: $(BIN)/%.s