From: Steffen Vogel Date: Tue, 7 Feb 2017 14:09:15 +0000 (-0300) Subject: Allow standard tools to be overwritten in make invocation X-Git-Tag: yosys-0.8~506^2~1^2~6 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19f36271c2634f6829b4f7fe75b848aa74fd168d;p=yosys.git Allow standard tools to be overwritten in make invocation --- 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)