FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
34 stars 17 forks source link

fix building firmware on linux #420

Closed nmschulte closed 2 months ago

nmschulte commented 2 months ago

--processor is non-portable, and systems like Kali and Debian do not play games like Ubuntu et al which e.g. patch to --machine

Also support Linux AArch64 (arm64) host

nmschulte commented 2 months ago

Ah, my bad, I thought it downloaded on the fly from Arm 👍 -- will remove that commit soon. -------- Original Message -------- On May 2, 2024, 21:35, Matthew Kennedy wrote:

@mck1117 commented on this pull request.


In firmware/use_arm_gcc.mk:

 COMPILER_PLATFORM = arm-gnu-toolchain-11.3.rel1-darwin-x86_64-arm-none-eabi
  • else ifeq ($(UNAME_SP),Linux x86_64)
  • COMPILER_PLATFORM = arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi
  • else ifeq ($(KERNEL),Linux)
  • ifeq ($(MACHINE),x86_64)
  • COMPILER_PLATFORM = arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-eabi
  • else ifeq ($(MACHINE),aarch64)

These files don't actually exist in the toolchain dirs, so let's not support it here yet

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>