I read many posts on forum, but I do not understand how to make multi arch snap with make plugin. I use make plugin and C/C++ project, my
snapcraft.yaml includes these lines:
architectures: - build-on: amd64 run-on: [armhf, arm64]
but when if try to detect target build arch (SNAPCRAFT_ARCH_TRIPLET/SNAP_ARCH_TRIPLET vars) I got always
x86_64-linux-gnu. I tried
snapcraft --debug --target-arch=armhf and simple
- How to set target arch for make plugin and detect arch inside
- How to install special cross-compile for cross build inside
- Is snapcraft support cross-compile by my scenario or not?
I am completely confused and cannot understand how to achive this.