util/*/Makefile: Rename -W to -Wextra

-W is the old name for -Wextra, so let's rename it to be consistent with
the rest of the utility Makefiles.

Change-Id: I0e50f13d2617b785d343707fc895516574164562
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34455
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
Jacob Garber 2019-07-19 12:27:27 -06:00 committed by Patrick Georgi
parent 5f914dc4ce
commit 52f0e84ba7
7 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@
## ##
CC = gcc CC = gcc
CFLAGS = -O2 -Wall -W CFLAGS = -O2 -Wall -Wextra
PROGRAM = ectool PROGRAM = ectool
INSTALL = /usr/bin/env install INSTALL = /usr/bin/env install
PREFIX = /usr/local PREFIX = /usr/local

View File

@ -18,7 +18,7 @@ PROGRAM = ifdtool
CC = gcc CC = gcc
INSTALL = /usr/bin/env install INSTALL = /usr/bin/env install
PREFIX = /usr/local PREFIX = /usr/local
CFLAGS = -O2 -g -Wall -W -Wmissing-prototypes -Werror -I../../src/commonlib/include CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -Werror -I../../src/commonlib/include
LDFLAGS = LDFLAGS =
OBJS = ifdtool.o OBJS = ifdtool.o

View File

@ -17,7 +17,7 @@ PROGRAM = intelmetool
CC ?= gcc CC ?= gcc
INSTALL ?= /usr/bin/env install INSTALL ?= /usr/bin/env install
PREFIX ?= /usr/local PREFIX ?= /usr/local
CFLAGS ?= -O0 -g -Wall -W -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function CFLAGS ?= -O0 -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function
LDFLAGS += -lpci -lz LDFLAGS += -lpci -lz
OBJS = intelmetool.o me.o me_status.o mmap.o rcba.o msr.o OBJS = intelmetool.o me.o me_status.o mmap.o rcba.o msr.o

View File

@ -22,7 +22,7 @@ top ?= $(abspath ../..)
CC ?= gcc CC ?= gcc
INSTALL ?= /usr/bin/env install INSTALL ?= /usr/bin/env install
PREFIX ?= /usr/local PREFIX ?= /usr/local
CFLAGS ?= -O2 -g -Wall -W -Wmissing-prototypes CFLAGS ?= -O2 -g -Wall -Wextra -Wmissing-prototypes
LDFLAGS += -lpci -lz LDFLAGS += -lpci -lz
CPPFLAGS += -I$(top)/src/commonlib/include CPPFLAGS += -I$(top)/src/commonlib/include

View File

@ -19,7 +19,7 @@ PROGRAM = nvramtool
CC = gcc CC = gcc
INSTALL = /usr/bin/env install INSTALL = /usr/bin/env install
PREFIX = /usr/local PREFIX = /usr/local
CFLAGS = -O2 -g -Wall -W -Wmissing-prototypes -I. -DCMOS_HAL=1 CFLAGS = -O2 -g -Wall -Wextra -Wmissing-prototypes -I. -DCMOS_HAL=1
#CFLAGS = -Os -Wall #CFLAGS = -Os -Wall
CLI_OBJS = cli/nvramtool.o cli/opts.o CLI_OBJS = cli/nvramtool.o cli/opts.o

View File

@ -14,7 +14,7 @@
## ##
CC = gcc CC = gcc
CFLAGS = -O2 -Wall -W -Werror CFLAGS = -O2 -Wall -Wextra -Werror
PROGRAM = pmh7tool PROGRAM = pmh7tool
INSTALL = /usr/bin/env install INSTALL = /usr/bin/env install
PREFIX = /usr/local PREFIX = /usr/local

View File

@ -21,7 +21,7 @@ PROGRAM = viatool
CC ?= gcc CC ?= gcc
INSTALL ?= /usr/bin/env install INSTALL ?= /usr/bin/env install
PREFIX ?= /usr/local PREFIX ?= /usr/local
CFLAGS ?= -O2 -g -Wall -W -I$(CURDIR) CFLAGS ?= -O2 -g -Wall -Wextra -I$(CURDIR)
LDFLAGS += -lpci -lz LDFLAGS += -lpci -lz
SRCS = viatool.c \ SRCS = viatool.c \