Modified Makefiles to call common/Makefile

Signed-off-by: Joshua Fife <jpfife17@gmail.com>
This commit is contained in:
Joshua Fife 2021-08-17 15:34:49 -06:00
parent cebbdfc780
commit 977fc93ba8
2 changed files with 9 additions and 2 deletions

View File

@ -62,5 +62,4 @@ ${BOARD_BUILDDIR}/${TOP}.fasm: ${BOARD_BUILDDIR}/${TOP}.route
${BOARD_BUILDDIR}/${TOP}.bit: ${BOARD_BUILDDIR}/${TOP}.fasm ${BOARD_BUILDDIR}/${TOP}.bit: ${BOARD_BUILDDIR}/${TOP}.fasm
cd ${BOARD_BUILDDIR} && symbiflow_write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit cd ${BOARD_BUILDDIR} && symbiflow_write_bitstream -d ${BITSTREAM_DEVICE} -f ${TOP}.fasm -p ${PARTNAME} -b ${TOP}.bit
clean: include ${current_dir}/../../common/Makefile
rm -rf ${BUILDDIR}

8
xc7/timer/Makefile Normal file
View File

@ -0,0 +1,8 @@
current_dir := ${CURDIR}
TARGET := basys3
TOP := top
SOURCES := ${current_dir}/*.sv
XDC := ${current_dir}/basys3.xdc
include ${current_dir}/../../common/Makefile