From c6d3ff6cdd6f34a4a1d41a2db4ef450067cdc5ea Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 26 Jan 2010 14:09:30 +0000 Subject: use stdint types for structures, and don't use pointers for fields defined 32bit in the multi processor specification. Also, fix lots of trivial warnings in the code. If you ever wondered, why you get odd or wrong mp tables on your x64 system: It's not because bios vendors neglected mp tables; it's because we neglected 64bit systems. ;-) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5056 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/mptable/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'util/mptable/Makefile') diff --git a/util/mptable/Makefile b/util/mptable/Makefile index 5f74b5082e..f88367eb98 100644 --- a/util/mptable/Makefile +++ b/util/mptable/Makefile @@ -1,6 +1,8 @@ CC=gcc +CFLAGS=-O2 -Wall -Wextra -Wshadow -Wno-sign-compare + +mptable: mptable.c + $(CC) $(CFLAGS) -o $@ $< -mptable: mptable.o - $(CC) -o mptable mptable.o clean: - \rm *.o mptable + rm -f mptable -- cgit v1.2.3