diff options
| author | Henny022p <info@henny022.de> | 2025-01-07 22:55:46 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2025-01-07 22:55:46 +0100 |
| commit | 121b8c3e4683832f71515c93db6e9395c1a096c8 (patch) | |
| tree | 77c9ed2fc35e2048c73e96cdb4f42780bde0a33e /Toolchain.mk | |
| parent | cd2b8d4b531ee5b4b78d04964a3f895edc31db73 (diff) | |
introduce AGBCC_PATH config variable
Diffstat (limited to 'Toolchain.mk')
| -rw-r--r-- | Toolchain.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Toolchain.mk b/Toolchain.mk index 76e2a871..8c695da4 100644 --- a/Toolchain.mk +++ b/Toolchain.mk @@ -28,7 +28,9 @@ OBJCOPY := $(TOOLCHAIN_PATH)arm-none-eabi-objcopy # custom tools # ============ -CC1 := tools/agbcc/bin/agbcc +AGBCC_PATH ?= $(shell pwd)/tools/agbcc + +CC1 := $(AGBCC_PATH)/bin/agbcc SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c SCANINC := tools/bin/scaninc |
