diff options
| author | Lawrence Nahum <lawrence@greenaddress.it> | 2019-12-08 19:59:58 +0100 |
|---|---|---|
| committer | Lawrence Nahum <lawrence@greenaddress.it> | 2019-12-08 19:59:58 +0100 |
| commit | 15263ff19694f0a6e03eb3d32021e0121e91ab19 (patch) | |
| tree | a61030dc2c433249d6a0c30ecfa3de2b296f4675 | |
| parent | e2e77805e5eb316d93d89de654690d79608118d6 (diff) | |
| download | psn00bsdk-15263ff19694f0a6e03eb3d32021e0121e91ab19.tar.gz | |
don't set the version if already set
| -rw-r--r-- | examples/sdk-common.mk | 3 | ||||
| -rw-r--r-- | libpsn00b/common.mk | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/examples/sdk-common.mk b/examples/sdk-common.mk index fa4da20..312fda3 100644 --- a/examples/sdk-common.mk +++ b/examples/sdk-common.mk @@ -10,9 +10,12 @@ INCLUDE = -I../../libpsn00b/include # Library directories, last entry must point toolchain libraries LIBDIRS = -L../../libpsn00b +ifndef GCC_VERSION GCC_VERSION = 7.4.0 +endif + ifndef GCC_BASE ifeq "$(OS)" "Windows_NT" # For Windows diff --git a/libpsn00b/common.mk b/libpsn00b/common.mk index 1733166..d15d4a5 100644 --- a/libpsn00b/common.mk +++ b/libpsn00b/common.mk @@ -2,8 +2,12 @@ # You may need to modify these values to match with your toolchain setup. # GCC version +ifndef GCC_VERSION + GCC_VERSION = 7.4.0 +endif + # GCC base paths ifndef GCC_BASE |
