mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-10 16:13:26 +00:00
Now "make PRETTY=1" is the default setting
This commit is contained in:
parent
38afbe62ef
commit
34ea9e3f09
1 changed files with 7 additions and 5 deletions
12
Makefile
12
Makefile
|
@ -21,6 +21,8 @@ GENFILES =
|
||||||
EXTRA_TARGETS =
|
EXTRA_TARGETS =
|
||||||
TARGETS = yosys yosys-config
|
TARGETS = yosys yosys-config
|
||||||
|
|
||||||
|
PRETTY = 1
|
||||||
|
|
||||||
all: top-all
|
all: top-all
|
||||||
|
|
||||||
CXXFLAGS = -Wall -Wextra -ggdb -I"$(shell pwd)" -MD -DYOSYS_SRC='"$(shell pwd)"' -D_YOSYS_ -fPIC -I${DESTDIR}/include
|
CXXFLAGS = -Wall -Wextra -ggdb -I"$(shell pwd)" -MD -DYOSYS_SRC='"$(shell pwd)"' -D_YOSYS_ -fPIC -I${DESTDIR}/include
|
||||||
|
@ -44,11 +46,6 @@ YOSYS_VER := 0.3.0+
|
||||||
GIT_REV := $(shell git rev-parse --short HEAD || echo UNKOWN)
|
GIT_REV := $(shell git rev-parse --short HEAD || echo UNKOWN)
|
||||||
OBJS = kernel/version_$(GIT_REV).o
|
OBJS = kernel/version_$(GIT_REV).o
|
||||||
|
|
||||||
PRETTY = 0
|
|
||||||
P =
|
|
||||||
Q =
|
|
||||||
S =
|
|
||||||
|
|
||||||
# set 'ABCREV = default' to use abc/ as it is
|
# set 'ABCREV = default' to use abc/ as it is
|
||||||
#
|
#
|
||||||
# Note: If you do ABC development, make sure that 'abc' in this directory
|
# Note: If you do ABC development, make sure that 'abc' in this directory
|
||||||
|
@ -113,6 +110,11 @@ P = @echo "$(eval I=$(shell bash -c 'i=0; for x in $(OBJS) yosys; do ((i++)); [
|
||||||
gawk "BEGIN { N=`echo $(OBJS) yosys | wc -w`; printf \"%3d\", 100*$I/N; exit; }")%] Building $@";
|
gawk "BEGIN { N=`echo $(OBJS) yosys | wc -w`; printf \"%3d\", 100*$I/N; exit; }")%] Building $@";
|
||||||
Q = @
|
Q = @
|
||||||
S = -s
|
S = -s
|
||||||
|
else
|
||||||
|
I =
|
||||||
|
P =
|
||||||
|
Q =
|
||||||
|
S =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o
|
OBJS += kernel/driver.o kernel/register.o kernel/rtlil.o kernel/log.o kernel/calc.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue