linux/linux-5.4.31/clean.sh

25 lines
1.0 KiB
Bash
Raw Normal View History

2024-01-30 10:43:28 +00:00
#!/bin/bash
###
# @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
# @Date: 2023-08-10 19:18:57
# @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
# @LastEditTime: 2023-09-11 21:18:37
# @FilePath: /linux-5.4.31/build.sh
# @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
###
root_path=$(pwd)
cd ../../toolchain/bin
ls
if [ -e "./arm-none-linux-gnueabihf-gcc" ]; then
echo find toolchain arm-none-linux-gnueabihf-gcc
toolchain_path=$(pwd)
export PATH=$PATH:$toolchain_path
# arm-none-linux-gnueabihf-gcc -v
cd $root_path
else
echo "toolchain no find"
exit 1
fi
2024-02-18 07:43:59 +00:00
make ARCH=arm clean