1 Star 1 Fork 1

alexi/K3C

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
script-kernel-source.sh 631 Bytes
一键复制 编辑 原始数据 按行查看 历史
paldier 提交于 2018-05-08 01:36 . remove unused files
#!/bin/sh
set -e
rm -rf linux-3.10.104
echo "Preparing kernel source tree under ./linux-3.10.104..."
echo "Extracting dl/linux-3.10.104 tar ball..."
tar -xjf dl/linux-3.10.104.tar.bz2
cd linux-3.10.104
echo "Copying driver files..."
cp -aL ../target/linux/generic/files/* .
cp -aL ../target/linux/lantiq/files/* .
echo "Applying generic patches.."
for patch in `ls ../target/linux/generic/patches-3.10/*.patch`
do
patch -p1 < $patch
done
echo "Applying lantiq target patches.."
for patch in `ls ../target/linux/lantiq/patches-3.10/*.patch`
do
patch -p1 < $patch
done
find . -name \*.rej -or -name \*.orig |xargs rm -rf
cd ..
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/alexi126/K3C.git
git@gitee.com:alexi126/K3C.git
alexi126
K3C
K3C
master

搜索帮助