make installation directory configurable

This commit is contained in:
japm48
2020-02-16 13:41:58 +01:00
parent 1f02fce1c9
commit 52786895d8
5 changed files with 15 additions and 4 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
#define IDCODE 6
#define IRLENGTH 10
#define BIT_FOR_FLASH "/usr/local/share/openFPGALoader/test_sfl.svf"
// DATA_DIR is defined at compile time.
#define BIT_FOR_FLASH (DATA_DIR "/openFPGALoader/test_sfl.svf")
Altera::Altera(FtdiJtag *jtag, std::string filename, bool verbose):
Device(jtag, filename, verbose), _svf(_jtag, _verbose)