From 6116f369e98afef29e284c6148414d8c5832689d Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 8 Mar 2016 12:32:40 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/13967 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel --- util/viatool/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/viatool/Makefile') 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 \ -- cgit v1.2.3