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>
This commit is contained in:
@@ -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 \
|
||||
|
Reference in New Issue
Block a user