Update 00-prepare_base.sh
This commit is contained in:
@@ -4,6 +4,10 @@
|
|||||||
# 使用 O2 级别的优化
|
# 使用 O2 级别的优化
|
||||||
sed -i 's/Os/O2/g' include/target.mk
|
sed -i 's/Os/O2/g' include/target.mk
|
||||||
|
|
||||||
|
# kenrel Vermagic
|
||||||
|
sed -ie 's/^\(.\).*vermagic$/\1cp $(TOPDIR)\/.vermagic $(LINUX_DIR)\/.vermagic/' include/kernel-defaults.mk
|
||||||
|
grep HASH include/kernel-6.6 | awk -F'HASH-' '{print $2}' | awk '{print $1}' | md5sum | awk '{print $1}' > .vermagic
|
||||||
|
|
||||||
# 内核版本设置
|
# 内核版本设置
|
||||||
cp -rf ../OpenBox/kernel-6.6/kernel/0001-linux-module-video.patch ./package/0001-linux-module-video.patch
|
cp -rf ../OpenBox/kernel-6.6/kernel/0001-linux-module-video.patch ./package/0001-linux-module-video.patch
|
||||||
git apply package/0001-linux-module-video.patch
|
git apply package/0001-linux-module-video.patch
|
||||||
|
|||||||
Reference in New Issue
Block a user