X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/c7eda62d83dd463895a3b096f8c32502077e7bcd..refs/heads/master:/grubload/Makefile diff --git a/grubload/Makefile b/grubload/Makefile index 8b89e59..8aae1dd 100644 --- a/grubload/Makefile +++ b/grubload/Makefile @@ -1,8 +1,9 @@ -include ../config.mk +-include ../hardware/ich2/config.mk -OBJS=main.o mbentry.o realmode.o loader.o ../pci/pci-raw.o ../lib/minilib.o ../lib/console.o ../ich2/smram-ich2.o ../ich2/smi.o output.o ../lib/sprintf.o ../lib/doprnt.o ../pci/pci.o +OBJS=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 CC=$(CROSS)gcc -CFLAGS=-nostdlib -I../include -I../include/raw -I. -D__RAW__ -fno-builtin -nostdinc -Wall -Werror -pedantic -std=gnu99 +CFLAGS+=-nostdlib -I../include -I../include/raw -I. -D__RAW__ -fno-builtin -nostdinc -Wall -Werror -pedantic -std=gnu99 all: smmload