@@ -202,7 +202,7 COMPILER_PACKAGES="" | |||||
202 | set +x |
|
202 | set +x | |
203 |
|
203 | |||
204 | #make script easier and more stable to use with convenient setup switch. Just setup SET_ARCH and RPI_MODEL and your good to go! |
|
204 | #make script easier and more stable to use with convenient setup switch. Just setup SET_ARCH and RPI_MODEL and your good to go! | |
205 | if [ -n "$SET_ARCH" ] |
|
205 | if [ -n "$SET_ARCH" ] ; then | |
206 | echo "Setting Architecture specific settings" |
|
206 | echo "Setting Architecture specific settings" | |
207 | ################################## |
|
207 | ################################## | |
208 | # 64 bit config |
|
208 | # 64 bit config | |
@@ -254,7 +254,6 if [ -n "$SET_ARCH" ] | |||||
254 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel7.img} |
|
254 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel7.img} | |
255 | CROSS_COMPILE=${CROSS_COMPILE:=arm-linux-gnueabihf-} |
|
255 | CROSS_COMPILE=${CROSS_COMPILE:=arm-linux-gnueabihf-} | |
256 | fi |
|
256 | fi | |
257 | fi |
|
|||
258 |
|
257 | |||
259 | #Device specific configuration |
|
258 | #Device specific configuration | |
260 | case "$RPI_MODEL" in |
|
259 | case "$RPI_MODEL" in | |
@@ -283,6 +282,8 if [ -n "$SET_ARCH" ] | |||||
283 | exit 1 |
|
282 | exit 1 | |
284 | ;; |
|
283 | ;; | |
285 | esac |
|
284 | esac | |
|
285 | #end 32 bit | |||
|
286 | fi | |||
286 | #SET_ARCH not set |
|
287 | #SET_ARCH not set | |
287 | else |
|
288 | else | |
288 | echo "error: Please set '32' or '64' as value for SET_ARCH" |
|
289 | echo "error: Please set '32' or '64' as value for SET_ARCH" |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant