This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
Simplify the build process using git submodules #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With these changes, the build instructions simplify to:
git clone --recurse https://github.com/kintex-chatter/xc7k325t-blinky-nextpnr.git
cd xc7k325t-blinky-nextpnr
make BOARD=qmtech setup
make BOARD=qmtech all
It also works for BOARD=genesys2, and both boards can be built and flashed from the same directory.
I will do a separate pull request with a target to install the prerequisite distribution packages for various platforms.
Why add prjxray as a submodule? The main reason to add prjxray as a submodule is so that XRAY_UTILS_DIR can be automatically set to a default value based on this known relative location for prjxray.
There is a related discussion from 2020 at f4pga/prjxray#1384 that resulted in an independent repo for fasm2frames: https://github.com/SymbiFlow/f4pga-xc-fasm.
@unbtorsten opened an issue for further clarification at chipsalliance/f4pga-xc-fasm#19
Note: this closes #18 and provides a foundation for #21