修复 DRM-I915文件追加内容并列

This commit is contained in:
Hyy2001X 2021-06-21 21:04:00 +08:00
parent 96d6234047
commit c0ffb9c8c0
2 changed files with 1 additions and 3 deletions

View File

@ -3,5 +3,3 @@ CONFIG_DRM=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_GVT=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=110
CONFIG_DUMMY_CONSOLE_ROWS=32

View File

@ -204,7 +204,7 @@ Firmware-Diy_Base() {
}
[[ ${INCLUDE_DRM_I915} == true && ${TARGET_PROFILE} == x86_64 ]] && {
Copy CustomFiles/Depends/DRM-I915 target/linux/x86
for X in $(ls -1 target/linux/x86 | grep "config-"); do cat target/linux/x86/DRM-I915 >> target/linux/x86/${X}; done
for X in $(ls -1 target/linux/x86 | grep "config-"); do echo -e "\n$(cat target/linux/x86/DRM-I915)" >> target/linux/x86/${X}; done
}
[ -f package/base-files/files/bin/AutoUpdate.sh ] && {
AutoUpdate_Version=$(egrep -o "V[0-9].+" package/base-files/files/bin/AutoUpdate.sh | awk 'END{print}')