mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2025-01-02 23:32:02 +00:00
ee1510d069
Change-Id: I280b33ad597b59b0cbb55a85d919aba67136f339
19 lines
464 B
PHP
19 lines
464 B
PHP
XILINX ?= /opt/Xilinx/14.7
|
|
|
|
PATH := $(PATH):${XILINX}/ISE_DS/ISE/bin/lin64:${PAPILIO}/linux64
|
|
SHELL := env PATH=$(PATH) /bin/bash
|
|
|
|
build: $(TARGET).bit
|
|
|
|
$(TARGET).bit:
|
|
# create a working directory if necessary
|
|
mkdir -p working
|
|
# use the xilinx tools to synthesise the project and generate a bitstream file
|
|
xtclsh $(COMMON)/ise_build.tcl $(TARGET).xise
|
|
cp working/$(TARGET).bit $(TARGET).bit
|
|
|
|
clean:
|
|
rm -rf working/ iceconfig/
|
|
|
|
clobber: clean
|