diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-17 13:43:48 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-03-17 13:43:48 +0000 |
commit | 969a9f69e8b2c33068151fd9adaa20356a7bcf66 (patch) | |
tree | 552680ac968a9e0d29cdaaf7e8f0cfda9c8fec0a /util/superiotool/Makefile | |
parent | a2ccf9fe4ef3f2736a336f861ffc37597829fcbc (diff) | |
download | coreboot-969a9f69e8b2c33068151fd9adaa20356a7bcf66.tar.xz |
Various smaller fixes in superiotool:
- Also dump the extra registers (e.g. EC regs) in --list-supported.
- Small fix in the code to allow for building with -pedantic (yes,
the fix is a bit silly, but it's simple and allows us to use the
-pedantic flag to keep the code even cleaner and nicer).
- Install the binary in /usr/sbin, as it's meant to be run as root.
- Small typo in README.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3163 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/Makefile')
-rw-r--r-- | util/superiotool/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/util/superiotool/Makefile b/util/superiotool/Makefile index 87faecb05b..d8ac62c1f3 100644 --- a/util/superiotool/Makefile +++ b/util/superiotool/Makefile @@ -29,9 +29,8 @@ PREFIX = /usr/local SVNDEF := -D'SUPERIOTOOL_VERSION="$(shell svnversion -cn . \ | sed -e "s/.*://" -e "s/\([0-9]*\).*/\1/")"' -# TODO: -pedantic CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \ - -Werror-implicit-function-declaration -ansi $(SVNDEF) + -Werror-implicit-function-declaration -ansi -pedantic $(SVNDEF) OBJS = superiotool.o ali.o fintek.o ite.o nsc.o smsc.o winbond.o @@ -43,7 +42,7 @@ $(PROGRAM): $(OBJS) superiotool.h $(CC) $(CFLAGS) -o $(PROGRAM) $(OBJS) install: $(PROGRAM) - $(INSTALL) $(PROGRAM) $(PREFIX)/bin + $(INSTALL) $(PROGRAM) $(PREFIX)/sbin mkdir -p $(PREFIX)/share/man/man8 $(INSTALL) $(PROGRAM).8 $(PREFIX)/share/man/man8 |