aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-05-29 18:57:03 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-05-29 18:57:03 +0200
commit14bd40cd3d760e22eeaf6f9622e210412e2b93a6 (patch)
tree36fba6f5abce3a874f1f9b145a29b0d80b353966 /Makefile
parent349c47250a9779bc58634870d2e3facfe95fbff8 (diff)
downloadyosys-14bd40cd3d760e22eeaf6f9622e210412e2b93a6.tar.gz
yosys-14bd40cd3d760e22eeaf6f9622e210412e2b93a6.tar.bz2
yosys-14bd40cd3d760e22eeaf6f9622e210412e2b93a6.zip
Aded one more load of .conf to support change of prefix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 05b28f33d..76dac48a5 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,10 @@ OS := $(shell uname -s)
PREFIX ?= /usr/local
INSTALL_SUDO :=
+ifneq ($(wildcard Makefile.conf),)
+include Makefile.conf
+endif
+
BINDIR := $(PREFIX)/bin
LIBDIR := $(PREFIX)/lib
DATDIR := $(PREFIX)/share/yosys