Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
5e6b0800
Commit
5e6b0800
authored
Jan 08, 2021
by
longpanda
Browse files
update edk build script for ia32 #690
parent
01c902e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
EDK2/buildedk.sh
EDK2/buildedk.sh
+10
-3
No files found.
EDK2/buildedk.sh
View file @
5e6b0800
...
@@ -11,17 +11,24 @@ cd edk2-edk2-stable201911
...
@@ -11,17 +11,24 @@ cd edk2-edk2-stable201911
VTEFI_PATH
=
Build/MdeModule/RELEASE_GCC48/X64/MdeModulePkg/Application/Ventoy/Ventoy/OUTPUT/Ventoy.efi
VTEFI_PATH
=
Build/MdeModule/RELEASE_GCC48/X64/MdeModulePkg/Application/Ventoy/Ventoy/OUTPUT/Ventoy.efi
DST_PATH
=
../../INSTALL/ventoy/ventoy_x64.efi
DST_PATH
=
../../INSTALL/ventoy/ventoy_x64.efi
VTEFI_PATH2
=
Build/MdeModule/RELEASE_GCC48/IA32/MdeModulePkg/Application/Ventoy/Ventoy/OUTPUT/Ventoy.efi
DST_PATH2
=
../../INSTALL/ventoy/ventoy_ia32.efi
rm
-f
$VTEFI_PATH
rm
-f
$VTEFI_PATH
rm
-f
$DST_PATH
rm
-f
$DST_PATH
rm
-f
$VTEFI_PATH2
rm
-f
$DST_PATH2
make
-j
4
-C
BaseTools/
make
-j
4
-C
BaseTools/
source
./edksetup.sh
source
./edksetup.sh
build
-p
MdeModulePkg/MdeModulePkg.dsc
-a
X64
-b
RELEASE
-t
GCC48
build
-p
MdeModulePkg/MdeModulePkg.dsc
-a
X64
-b
RELEASE
-t
GCC48
build
-p
MdeModulePkg/MdeModulePkg.dsc
-a
IA32
-b
RELEASE
-t
GCC48
if
[
-e
$VTEFI_PATH
]
;
then
if
[
-e
$VTEFI_PATH
]
&&
[
-e
$VTEFI_PATH2
]
;
then
echo
-e
'\n\n====================== SUCCESS ========================\n\n'
echo
-e
'\n\n====================== SUCCESS ========================\n\n'
cp
-a
$VTEFI_PATH
$DST_PATH
cp
-a
$VTEFI_PATH
$DST_PATH
cp
-a
$VTEFI_PATH2
$DST_PATH2
cd
..
cd
..
else
else
echo
-e
'\n\n====================== FAILED ========================\n\n'
echo
-e
'\n\n====================== FAILED ========================\n\n'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment