forked from ms-iot/RPi-UEFI
-
Notifications
You must be signed in to change notification settings - Fork 5
/
BuildPi2Pi3Board.bat
27 lines (23 loc) · 963 Bytes
/
BuildPi2Pi3Board.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
::
:: Copyright (c), Microsoft Corporation. All rights reserved.
::
:: This program and the accompanying materials
:: are licensed and made available under the terms and conditions of the BSD License
:: which accompanies this distribution. The full text of the license may be found at
:: http://opensource.org/licenses/bsd-license.php
::
:: THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
:: WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
::
:: Important Note: This script has to run from EDK2 root dir
::
@echo off
pushd %~dp0
set EDKROOT_DIR=%~dp0
:: Remove trailing backslash if exist
if "%EDKROOT_DIR:~-1%"=="\" set EDKROOT_DIR=%EDKROOT_DIR:~0,-1%
set SCRIPTS_DIR=%EDKROOT_DIR%\Pi3BoardPkg\Scripts
set PI2_PKG_PATH=%EDKROOT_DIR%\Pi2BoardPkg\Pi2BoardPkg.dsc
set PI3_PKG_PATH=%EDKROOT_DIR%\Pi3BoardPkg\Pi3BoardPkg.dsc
call %SCRIPTS_DIR%\BuildPiBoard Pi2Pi3 "%PI2_PKG_PATH%" "%PI3_PKG_PATH%"
popd