aboutsummaryrefslogtreecommitdiff
path: root/util/mptable/Makefile
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-01-26 14:09:30 +0000
committerStefan Reinauer <stepan@openbios.org>2010-01-26 14:09:30 +0000
commitc6d3ff6cdd6f34a4a1d41a2db4ef450067cdc5ea (patch)
tree6688a512c826c73389351af764ec79d59a69b68d /util/mptable/Makefile
parenta9796ed362f0d2b80f6c4e59c94db5d564324ebb (diff)
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 <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5056 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/mptable/Makefile')
-rw-r--r--util/mptable/Makefile8
1 files changed, 5 insertions, 3 deletions
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