This commit is contained in:
chenyf 2024-01-10 14:32:59 +08:00
parent 18b2348868
commit cdb4ab10f5
2 changed files with 15 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build/*

View File

@ -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