github: tianocore edk2-platform
EDK2 빌드에 필요한 툴을 설치합니다.
sudo apt install build-essential uuid-dev gcc-arm-none-eabi
git에서 edk2.git를 다운로드합니다.
git clone https://github.com/tianocore/edk2.git
cd edk2
git submodule init
git submodule update
아래를 실행합니다.
make -C BaseTools
source edksetup.sh
Conf/target.txt를 편집합니다.
ACTIVE_PLATFORM = BeagleBoardPkg/BeagleBoardPkg.dsc
TARGET_ARCH = ARM
TOOL_CHAIN_TAG = GCC48
edk2/ 디렉토리에서 build를 실행합니다.
build GCC48_ARM_PREFIX="arm-none-eabi-"