8000 mpy-cross: Silently clone when building for static-raspbian · ricardoquesada/circuitpython@ead2554 · GitHub
[go: up one dir, main page]

Skip to content

Commit ead2554

Browse files
committed
mpy-cross: Silently clone when building for static-raspbian
Also move the construct earlier. This prevents the message ``` make: pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc: Command not found ``` from occurring during the first build, since make was evaluating the line ``` mpy-cross.mk:COMPILER_TARGET := $(shell $(CC) -dumpmachine) ``` before $(CC) was created by the clone. Nothing bad seems to have come of this, but it's nice to fix it anyhow. (And interesting that it was lost among the spewed messages we're removing now)
1 parent 880fe1a commit ead2554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mpy-cross/Makefile.static-raspbian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PROG=mpy-cross.static-raspbian
66
BUILD=build-static-raspbian
77
STATIC_BUILD=1
88

9+
$(shell if ! [ -d pitools ]; then echo 1>&2 "Fetching pi build tools. This may take awhile."; git clone -q https://github.com/raspberrypi/tools.git --depth=1 pitools; fi)
910
CROSS_COMPILE = pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-
1011
include mpy-cross.mk
1112

12-
$(shell [ -d pitools ] || git clone --progress --verbose https://github.com/raspberrypi/tools.git --depth=1 pitools)

0 commit comments

Comments
 (0)
0