Add build scripts based on edk2-platform's instructions
This commit is contained in:
parent
d7e1af47c1
commit
10dada4901
6
build.sh
Executable file
6
build.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# based on the instructions from edk2-platform
|
||||
set -e
|
||||
. build_common.sh
|
||||
# not actually GCC5; it's GCC7 on Ubuntu 18.04.
|
||||
GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -n 4 -a AARCH64 -t GCC5 -p Pixel3XL/Pixel3XL.dsc
|
3
build_common.sh
Normal file
3
build_common.sh
Normal file
@ -0,0 +1,3 @@
|
||||
export PACKAGES_PATH=$PWD/../edk2:$PWD/../edk2-platforms:$PWD
|
||||
export WORKSPACE=$PWD/workspace
|
||||
. ../edk2/edksetup.sh
|
8
firstrun.sh
Executable file
8
firstrun.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
# based on the instructions from edk2-platform
|
||||
# do this first:
|
||||
# https://github.com/tianocore/tianocore.github.io/wiki/Using-EDK-II-with-Native-GCC#Install_required_software_from_apt
|
||||
set -e
|
||||
. build_common.sh
|
||||
make -C ../edk2/BaseTools
|
||||
|
Loading…
Reference in New Issue
Block a user