Skip to content

Commit

Permalink
Merge pull request YosysHQ#110 from trabucayre/master
Browse files Browse the repository at this point in the history
examples: allows to override TRELLIS when libtrellis is not installed in /usr
  • Loading branch information
gatecat committed Dec 7, 2019
2 parents ca601cd + b349eec commit 4e0b215
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/ecp5_evn/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROJ=blinky
TRELLIS=/usr/share/trellis
TRELLIS?=/usr/share/trellis

all: ${PROJ}.bit

Expand Down
2 changes: 1 addition & 1 deletion examples/picorv32_versa5g/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TRELLIS=/usr/share/trellis
TRELLIS?=/usr/share/trellis

firmware.elf: sections.lds firmware.s
riscv32-unknown-elf-gcc -march=rv32i -Wl,-Bstatic,-T,sections.lds,--strip-debug -ffreestanding -nostdlib -o firmware.elf firmware.s
Expand Down
2 changes: 1 addition & 1 deletion examples/soc_ecp5_evn/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TRELLIS=/usr/share/trellis
TRELLIS?=/usr/share/trellis

firmware.elf: sections.lds start.s firmware.c
riscv32-unknown-elf-gcc -march=rv32i -Wl,-Bstatic,-T,sections.lds,--strip-debug -ffreestanding -nostdlib -o firmware.elf start.s firmware.c
Expand Down
2 changes: 1 addition & 1 deletion examples/soc_versa5g/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TRELLIS=/usr/share/trellis
TRELLIS?=/usr/share/trellis

firmware.elf: sections.lds start.s firmware.c
riscv32-unknown-elf-gcc -march=rv32i -Wl,-Bstatic,-T,sections.lds,--strip-debug -ffreestanding -nostdlib -o firmware.elf start.s firmware.c
Expand Down
2 changes: 1 addition & 1 deletion examples/versa5g/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PROJ=demo
CONSTR=versa.lpf
TRELLIS=/usr/share/trellis
TRELLIS?=/usr/share/trellis

all: ${PROJ}.bit

Expand Down

0 comments on commit 4e0b215

Please sign in to comment.