mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-22 19:17:55 +00:00
Merge branch 'master' of https://github.com/Siesh1oo/yosys
This commit is contained in:
commit
e308091529
4 changed files with 190 additions and 6 deletions
21
Makefile
21
Makefile
|
@ -18,7 +18,7 @@ INSTALL_SUDO :=
|
|||
OBJS =
|
||||
GENFILES =
|
||||
EXTRA_TARGETS =
|
||||
TARGETS = yosys yosys-config
|
||||
TARGETS =
|
||||
|
||||
all: top-all
|
||||
|
||||
|
@ -56,16 +56,18 @@ OBJS = kernel/version_$(GIT_REV).o
|
|||
ABCREV = 2058c8ccea68
|
||||
ABCPULL = 1
|
||||
|
||||
MINISATREV = HEAD
|
||||
|
||||
-include Makefile.conf
|
||||
|
||||
ifeq ($(CONFIG),clang-debug)
|
||||
CXX = clang
|
||||
CXXFLAGS += -std=c++11 -Os
|
||||
CXXFLAGS += -std=c++11 -O0 -Wall
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG),gcc-debug)
|
||||
CXX = gcc
|
||||
CXXFLAGS += -std=gnu++0x -Os
|
||||
CXXFLAGS += -std=gnu++0x -O0 -Wall
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG),release)
|
||||
|
@ -85,8 +87,8 @@ CXXFLAGS += -pg -fno-inline
|
|||
LDFLAGS += -pg
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_QT4),1)
|
||||
TARGETS += yosys-svgviewer
|
||||
ifeq ($(ENABLE_MINISAT),1)
|
||||
TARGETS += yosys-minisat
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_ABC),1)
|
||||
|
@ -100,7 +102,14 @@ CXXFLAGS += $(patsubst %,-I$(VERIFIC_DIR)/%,$(VERIFIC_COMPONENTS)) -D'VERIFIC_DI
|
|||
LDLIBS += $(patsubst %,$(VERIFIC_DIR)/%/*-linux.a,$(VERIFIC_COMPONENTS))
|
||||
endif
|
||||
|
||||
OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o
|
||||
# Build yosys after minisat and abc (we need to access the local copies of the downloaded/installed header files).
|
||||
TARGETS += yosys yosys-config
|
||||
|
||||
ifeq ($(ENABLE_QT4),1)
|
||||
TARGETS += yosys-svgviewer
|
||||
endif
|
||||
|
||||
OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o kernel/posix_compatibility.o
|
||||
|
||||
OBJS += libs/bigint/BigIntegerAlgorithms.o libs/bigint/BigInteger.o libs/bigint/BigIntegerUtils.o
|
||||
OBJS += libs/bigint/BigUnsigned.o libs/bigint/BigUnsignedInABase.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue