summaryrefslogtreecommitdiff
path: root/util/viatool
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-03-08 12:32:40 -0700
committerMartin Roth <martinroth@google.com>2016-03-11 18:48:06 +0100
commit6116f369e98afef29e284c6148414d8c5832689d (patch)
treed3cfa494c9fac42d11437fd2cb2fe3d02a4ad76d /util/viatool
parent00e49aed52cbc32cf8cdab8dbf1eeb96e27ea336 (diff)
downloadcoreboot-6116f369e98afef29e284c6148414d8c5832689d.tar.xz
codebase: Change makefile $(shell pwd) commands to $(CURDIR)
- Change the makefile command $(shell pwd) to $(CURDIR) to find the current directory without going out to the shell. Change-Id: I4890eba6129630acd2883b92de77308d39949443 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/13967 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/viatool')
-rw-r--r--util/viatool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/viatool/Makefile b/util/viatool/Makefile
index 4d9d0d0ea9..365497a308 100644
--- a/util/viatool/Makefile
+++ b/util/viatool/Makefile
@@ -21,7 +21,7 @@ PROGRAM = viatool
CC ?= gcc
INSTALL ?= /usr/bin/install
PREFIX ?= /usr/local
-CFLAGS ?= -O2 -g -Wall -W -I$(shell pwd)
+CFLAGS ?= -O2 -g -Wall -W -I$(CURDIR)
LDFLAGS += -lpci -lz
SRCS = viatool.c \