]> Joshua Wise's Git repositories - netwatch.git/blame - grubload/Makefile
More churn moving files around.
[netwatch.git] / grubload / Makefile
CommitLineData
d0ea4930 1-include ../config.mk
789ebb2d 2-include ../hardware/ich2/config.mk
d0ea4930 3
399b9324 4OBJS=main.o mbentry.o realmode.o loader.o ../pci/pci-raw.o ../lib/minilib.o ../lib/console.o $(CHIP_OBJS) output.o ../lib/sprintf.o ../lib/doprnt.o ../pci/pci.o
d0ea4930 5CC=$(CROSS)gcc
789ebb2d 6CFLAGS+=-nostdlib -I../include -I../include/raw -I. -D__RAW__ -fno-builtin -nostdinc -Wall -Werror -pedantic -std=gnu99
9b8c947b 7
c7eda62d 8all: smmload
9b8c947b 9
c7eda62d
JW
10smmload: $(OBJS)
11 $(CROSS)ld -o smmload $(OBJS) -Ttext=0x100000
c4a16564
JW
12
13realmode.bin: realmode.asm
14 nasm -o realmode.bin realmode.asm
15
16realmode.o: realmode.bin
d0ea4930 17 $(CROSS)objcopy -I binary -B i386 -O elf32-i386 realmode.bin realmode.o
7e16b8e6
JP
18
19clean:
c7eda62d 20 rm -f $(OBJS) realmode.bin smmload
This page took 0.032363 seconds and 4 git commands to generate.