Add a makefile to cross-compile for raspbian
This commit is contained in:
parent
d9e0742a07
commit
9673ea4a50
1
mpy-cross/.gitignore
vendored
1
mpy-cross/.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
mpy-cross{,.exe}
|
||||
mpy-cross.static{,.exe}
|
||||
build-*
|
||||
pitools
|
||||
|
8
mpy-cross/Makefile.static-raspbian
Normal file
8
mpy-cross/Makefile.static-raspbian
Normal file
@ -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…
Reference in New Issue
Block a user