summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
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 \