summaryrefslogtreecommitdiff
path: root/util
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
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')
-rw-r--r--util/bimgtool/Makefile2
-rw-r--r--util/viatool/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/bimgtool/Makefile b/util/bimgtool/Makefile
index ca4a9d9776..05ddf7d757 100644
--- a/util/bimgtool/Makefile
+++ b/util/bimgtool/Makefile
@@ -1,4 +1,4 @@
-obj ?= $(shell pwd)
+obj ?= $(CURDIR)
HOSTCC ?= gcc
CFLAGS ?= -g
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 \