projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
superiotool: add detection and dump of Infineon SLB9635 TPM
[coreboot.git]
/
util
/
superiotool
/
Makefile
diff --git
a/util/superiotool/Makefile
b/util/superiotool/Makefile
index 00a1cc0d7b7fa7c22c32668e6e39c09da53e0f69..e7d2f6329ee0e626b52cb548731e30328e302864 100644
(file)
--- a/
util/superiotool/Makefile
+++ b/
util/superiotool/Makefile
@@
-29,11
+29,12
@@
PREFIX = /usr/local
SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell svnversion -cn . \
| sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell svnversion -cn . \
| sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"'
-CFLAGS += -O2 -Wall -W
error -W
strict-prototypes -Wundef -Wstrict-aliasing \
+CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
-Werror-implicit-function-declaration -ansi -pedantic $(SVNDEF)
LDFLAGS += -lz
-Werror-implicit-function-declaration -ansi -pedantic $(SVNDEF)
LDFLAGS += -lz
-OBJS = superiotool.o ali.o fintek.o ite.o nsc.o nuvoton.o smsc.o winbond.o
+OBJS = superiotool.o serverengines.o ali.o fintek.o ite.o nsc.o nuvoton.o \
+ smsc.o winbond.o infineon.o
OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), Darwin)
OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), Darwin)
@@
-56,7
+57,7
@@
CONFIG_PCI = yes
ifeq ($(CONFIG_PCI), yes)
CFLAGS += -DPCI_SUPPORT
LIBS += -lpci
ifeq ($(CONFIG_PCI), yes)
CFLAGS += -DPCI_SUPPORT
LIBS += -lpci
-OBJS += pci.o via.o
+OBJS += pci.o via.o
amd.o
endif
all: $(PROGRAM)
endif
all: $(PROGRAM)