Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
OpenCorePKG_MOD
提交
9fe1d14a
O
OpenCorePKG_MOD
项目概览
btwise
/
OpenCorePKG_MOD
通知
26
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
OpenCorePKG_MOD
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9fe1d14a
编写于
5月 06, 2023
作者:
M
Mike Beaton
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
EnableGop: Provide release and pre-release versions with build
上级
a9d34648
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
71 addition
and
28 deletion
+71
-28
Changelog.md
Changelog.md
+1
-0
OpenCorePkg.dsc
OpenCorePkg.dsc
+1
-1
Staging/EnableGop/EnableGop.inf
Staging/EnableGop/EnableGop.inf
+4
-1
Staging/EnableGop/EnableGopDirect.inf
Staging/EnableGop/EnableGopDirect.inf
+4
-1
Staging/EnableGop/Release/EnableGopDirect_1.3.efi
Staging/EnableGop/Release/EnableGopDirect_1.3.efi
+0
-0
Staging/EnableGop/Release/EnableGopDirect_1.3.ffs
Staging/EnableGop/Release/EnableGopDirect_1.3.ffs
+0
-0
Staging/EnableGop/Release/EnableGop_1.3.efi
Staging/EnableGop/Release/EnableGop_1.3.efi
+0
-0
Staging/EnableGop/Release/EnableGop_1.3.ffs
Staging/EnableGop/Release/EnableGop_1.3.ffs
+0
-0
build_oc.tool
build_oc.tool
+61
-25
未找到文件。
Changelog.md
浏览文件 @
9fe1d14a
...
...
@@ -14,6 +14,7 @@ OpenCore Changelog
-
Implemented
`InitialMode`
option to allow fine control over text renderer operating mode
-
Added support for
`ConsoleMode`
text resolution setting to
`Builtin`
renderer
-
Fixed regression for ACPI quirks
`RebaseRegions`
and
`SyncTableIds`
-
Updated build process to provide stable and bleeding-edge versions of
`EnableGop`
#### v0.9.1
-
Fixed long comment printing for ACPI patches, thx @corpnewt
...
...
OpenCorePkg.dsc
浏览文件 @
9fe1d14a
...
...
@@ -22,7 +22,7 @@
BUILD_TARGETS = RELEASE|DEBUG|NOOPT
SKUID_IDENTIFIER = DEFAULT
DSC_SPECIFICATION = 0x00010006
#
FLASH_DEFINITION = OpenCorePkg/OpenCorePkg.fdf
FLASH_DEFINITION = OpenCorePkg/OpenCorePkg.fdf
#
# Network definition
...
...
Staging/EnableGop/EnableGop.inf
浏览文件 @
9fe1d14a
...
...
@@ -7,12 +7,15 @@
#
##
# Note: VERSION_STRING is compiled into the .ffs file, so updates to Staging/EnableGop/Release
# folder contents should be built locally, or on non-master branch in CI, without -dev suffix
# on VERSION_STRING, and then copied from the built Utilities/EnableGop/Pre-release folder.
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = EnableGop
FILE_GUID = 3FBA58B1-F8C0-41BC-ACD8-253043A3A17F
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.4
VERSION_STRING = 1.4
-dev
ENTRY_POINT = UefiMain
#
...
...
Staging/EnableGop/EnableGopDirect.inf
浏览文件 @
9fe1d14a
...
...
@@ -7,12 +7,15 @@
#
##
# Note: VERSION_STRING is compiled into the .ffs file, so updates to Staging/EnableGop/Release
# folder contents should be built locally, or on non-master branch in CI, without -dev suffix
# on VERSION_STRING, and then copied from the built Utilities/EnableGop/Pre-release folder.
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = EnableGopDirect
FILE_GUID = 3FBA58B1-F8C0-41BC-ACD8-253043A3A17F
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.4
VERSION_STRING = 1.4
-dev
ENTRY_POINT = UefiMain
#
...
...
Staging/EnableGop/Release/EnableGopDirect_1.3.efi
0 → 100644
浏览文件 @
9fe1d14a
文件已添加
Staging/EnableGop/Release/EnableGopDirect_1.3.ffs
0 → 100644
浏览文件 @
9fe1d14a
文件已添加
Staging/EnableGop/Release/EnableGop_1.3.efi
0 → 100644
浏览文件 @
9fe1d14a
文件已添加
Staging/EnableGop/Release/EnableGop_1.3.ffs
0 → 100644
浏览文件 @
9fe1d14a
文件已添加
build_oc.tool
浏览文件 @
9fe1d14a
...
...
@@ -69,6 +69,33 @@ buildutil() {
popd
||
exit
}
get_inf_version
()
{
VER
=
"VERSION_STRING"
if
[
!
-f
"
${
1
}
"
]
;
then
echo
"Missing .inf file
${
1
}
"
>
/dev/stderr
exit
1
fi
ver_line
=
$(
grep
-E
"
${
VER
}
*="
"
${
1
}
"
)
if
[
"
${
ver_line
}
"
=
""
]
;
then
echo
"Missing
${
VER
}
in
${
1
}
"
>
/dev/stderr
exit
1
fi
read
-ra
ver_array
<<<
"
${
ver_line
}
"
if
[
"
${
ver_array
[0]
}
"
!=
"
${
VER
}
"
]
||
[
"
${
ver_array
[1]
}
"
!=
"="
]
||
[
"
${
ver_array
[2]
}
"
=
""
]
;
then
echo
"Malformed
${
VER
}
line in
${
1
}
"
>
/dev/stderr
exit
1
fi
echo
"
${
ver_array
[2]
}
"
}
package
()
{
if
[
!
-d
"
$1
"
]
;
then
echo
"Missing package directory
$1
"
...
...
@@ -251,31 +278,40 @@ package() {
fi
done
# Copy Mac Pro GOP firmware driver.
# # mkdir -p "${dstdir}/Utilities/EnableGop" || exit 1
# # ENABLE_GOP_GUID="3FBA58B1-F8C0-41BC-ACD8-253043A3A17F"
# # ffsNames=(
# # "EnableGop"
# # "EnableGopDirect"
# # )
# # for ffsName in "${ffsNames[@]}"; do
# # cp "FV/Ffs/${ENABLE_GOP_GUID}${ffsName}/${ENABLE_GOP_GUID}.ffs" "${dstdir}/Utilities/EnableGop/${ffsName}.ffs" || exit 1
# # done
# # gopDrivers=(
# # "EnableGop.efi"
# # "EnableGopDirect.efi"
# # )
# # for file in "${gopDrivers[@]}"; do
# # cp "X64/${file}" "${dstdir}/Utilities/EnableGop"/ || exit 1
# # done
# # helpFiles=(
# # "README.md"
# # "UEFITool_Inserted_Screenshot.png"
# # "vBiosInsert.sh"
# # )
# # for file in "${helpFiles[@]}"; do
# # cp "${selfdir}/Staging/EnableGop/${file}" "${dstdir}/Utilities/EnableGop"/ || exit 1
# # done
# Copy EFI-era Mac GOP firmware driver.
eg_ver
=
$(
get_inf_version
"
${
selfdir
}
/Staging/EnableGop/EnableGop.inf"
)
||
exit
1
egdirect_ver
=
$(
get_inf_version
"
${
selfdir
}
/Staging/EnableGop/EnableGopDirect.inf"
)
||
exit
1
if
[
"
${
eg_ver
}
"
!=
"
${
egdirect_ver
}
"
]
;
then
echo
"Mismatched EnableGop versions (
${
eg_ver
}
and
${
egdirect_ver
}
)!"
exit
1
fi
mkdir
-p
"
${
dstdir
}
/Utilities/EnableGop/Pre-release"
||
exit
1
ENABLE_GOP_GUID
=
"3FBA58B1-F8C0-41BC-ACD8-253043A3A17F"
ffsNames
=(
"EnableGop"
"EnableGopDirect"
)
for
ffsName
in
"
${
ffsNames
[@]
}
"
;
do
cp
"FV/Ffs/
${
ENABLE_GOP_GUID
}${
ffsName
}
/
${
ENABLE_GOP_GUID
}
.ffs"
"
${
dstdir
}
/Utilities/EnableGop/Pre-release/
${
ffsName
}
_
${
eg_ver
}
.ffs"
||
exit
1
done
gopDrivers
=(
"EnableGop"
"EnableGopDirect"
)
for
file
in
"
${
gopDrivers
[@]
}
"
;
do
cp
"X64/
${
file
}
.efi"
"
${
dstdir
}
/Utilities/EnableGop/Pre-release/
${
file
}
_
${
eg_ver
}
.efi"
||
exit
1
done
helpFiles
=(
"README.md"
"UEFITool_Inserted_Screenshot.png"
"vBiosInsert.sh"
)
for
file
in
"
${
helpFiles
[@]
}
"
;
do
cp
"
${
selfdir
}
/Staging/EnableGop/
${
file
}
"
"
${
dstdir
}
/Utilities/EnableGop"
/
||
exit
1
done
cp
"
${
selfdir
}
/Staging/EnableGop/Release/"
*
"
${
dstdir
}
/Utilities/EnableGop"
/
||
exit
1
# Provide EDK-II BaseTools.
mkdir
"
${
dstdir
}
/Utilities/BaseTools"
||
exit
1
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录