mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-01 13:10:04 +00:00
arm/edk2-firmware: don't assume that platforms are in edk2-platforms
Some platforms are inside edk2 itself, so don't assume that the platform path is relative to edk2-platforms. Remove the edk2-platforms path prefix from the tasks, and move the prefix to EDK2_PLATFORM_DSC. Change-Id: I53e3dcd499f4d9f1d72c4d68ac82faed4fec70f2 Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -10,7 +10,7 @@ SRCREV_edk2-platforms = "d9d32e6c8b7456d21ce365486ac563b6be36c20d"
|
|||||||
# N1SDP specific EDK2 configurations
|
# N1SDP specific EDK2 configurations
|
||||||
EDK2_BUILD_RELEASE = "0"
|
EDK2_BUILD_RELEASE = "0"
|
||||||
EDK2_PLATFORM = "n1sdp"
|
EDK2_PLATFORM = "n1sdp"
|
||||||
EDK2_PLATFORM_DSC = "N1SdpPkg/N1SdpPlatform.dsc"
|
EDK2_PLATFORM_DSC = "Platform/ARM/N1SdpPkg/N1SdpPlatform.dsc"
|
||||||
EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
|
EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
|
||||||
EDK2_ARCH = "AARCH64"
|
EDK2_ARCH = "AARCH64"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ SRCREV_edk2-platforms = "b972f17b329a85e6aa4d69f240d459839ba8b47c"
|
|||||||
# SGI575 specific EDK2 configurations
|
# SGI575 specific EDK2 configurations
|
||||||
EDK2_BUILD_RELEASE = "0"
|
EDK2_BUILD_RELEASE = "0"
|
||||||
EDK2_PLATFORM = "Sgi575"
|
EDK2_PLATFORM = "Sgi575"
|
||||||
EDK2_PLATFORM_DSC = "SgiPkg/Sgi575/Sgi575.dsc"
|
EDK2_PLATFORM_DSC = "Platform/ARM/SgiPkg/Sgi575/Sgi575.dsc"
|
||||||
EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
|
EDK2_BIN_NAME = "BL33_AP_UEFI.fd"
|
||||||
EDK2_ARCH = "AARCH64"
|
EDK2_ARCH = "AARCH64"
|
||||||
|
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ do_compile() {
|
|||||||
-a "${EDK2_ARCH}" \
|
-a "${EDK2_ARCH}" \
|
||||||
-b ${EDK2_BUILD_MODE} \
|
-b ${EDK2_BUILD_MODE} \
|
||||||
-t ${EDK_COMPILER} \
|
-t ${EDK_COMPILER} \
|
||||||
-p "${S}/edk2-platforms/Platform/ARM/${EDK2_PLATFORM_DSC}"
|
-p ${EDK2_PLATFORM_DSC}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user