aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteffen Vogel <post@steffenvogel.de>2017-02-07 11:09:15 -0300
committerSteffen Vogel <post@steffenvogel.de>2017-02-07 11:09:15 -0300
commit19f36271c2634f6829b4f7fe75b848aa74fd168d (patch)
tree20a98d23aafffbc41bf2c5a3ae1b2c7b0762b75f /Makefile
parent44b47b57e3825821438460bb7cccd3ff661e4948 (diff)
downloadyosys-19f36271c2634f6829b4f7fe75b848aa74fd168d.tar.gz
yosys-19f36271c2634f6829b4f7fe75b848aa74fd168d.tar.bz2
yosys-19f36271c2634f6829b4f7fe75b848aa74fd168d.zip
Allow standard tools to be overwritten in make invocation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 57e935174..280c9d6a1 100644
--- a/Makefile
+++ b/Makefile
@@ -57,9 +57,9 @@ CXXFLAGS += -Wall -Wextra -ggdb -I. -I"$(YOSYS_SRC)" -MD -D_YOSYS_ -fPIC -I$(PRE
LDFLAGS += -L$(LIBDIR)
LDLIBS = -lstdc++ -lm
-PKG_CONFIG = pkg-config
-SED = sed
-BISON = bison
+PKG_CONFIG ?= pkg-config
+SED ?= sed
+BISON ?= bison
ifeq (Darwin,$(findstring Darwin,$(shell uname)))
BREW := $(shell command -v brew 2> /dev/null)