This commit is contained in:
parent
18b2348868
commit
cdb4ab10f5
|
@ -0,0 +1 @@
|
||||||
|
build/*
|
|
@ -1,4 +1,17 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#env var
|
#env var
|
||||||
export PATH=$PATH:/home/chenyf/stm32mp157/toolchian/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf/bin
|
root_path=$(pwd)
|
||||||
|
echo $root_path
|
||||||
|
cd ../../toolchain/bin
|
||||||
|
ls
|
||||||
|
if [ -e "./arm-none-linux-gnueabihf-gcc" ]; then
|
||||||
|
echo find toochain arm-none-linux-gnueabihf-gcc
|
||||||
|
toolchain_path=$(pwd)
|
||||||
|
export PATH=$PATH:$toolchain_path
|
||||||
|
# arm-none-linux-gnueabihf-gcc -v
|
||||||
|
cd $root_path
|
||||||
|
else
|
||||||
|
echo "toochain no find"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
make -f ../Makefile -j12 all
|
make -f ../Makefile -j12 all
|
||||||
|
|
Loading…
Reference in New Issue