Add a makefile to cross-compile for raspbian

crypto-aes
Jeff Epler 3 years ago
parent d9e0742a07
commit 9673ea4a50

@ -1,3 +1,4 @@
mpy-cross{,.exe}
mpy-cross.static{,.exe}
build-*
pitools

@ -0,0 +1,8 @@
PROG=mpy-cross.static-raspbian
BUILD=build-static-raspbian
STATIC_BUILD=1
CROSS_COMPILE = pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-
include mpy-cross.mk
$(shell [ -d pitools ] || git clone --progress --verbose https://github.com/raspberrypi/tools.git --depth=1 pitools)
Loading…
Cancel
Save