[1/7] arm/edk2-firmware: set invalid platform names for better errors

Message ID 20211201145729.4138705-1-ross.burton@arm.com
State New
Headers show
Series [1/7] arm/edk2-firmware: set invalid platform names for better errors | expand

Commit Message

Ross Burton Dec. 1, 2021, 2:57 p.m. UTC
Set the default platform name/descriptor to 'unset' so that build.sh fails
with obvious errors, instead of generic argument parsing failures.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-arm/recipes-bsp/uefi/edk2-firmware.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jon Mason Dec. 2, 2021, 2:39 a.m. UTC | #1
On Wed, 1 Dec 2021 14:57:23 +0000, Ross Burton wrote:
> Set the default platform name/descriptor to 'unset' so that build.sh fails
> with obvious errors, instead of generic argument parsing failures.
> 
> 

Applied, thanks!

[1/7] arm/edk2-firmware: set invalid platform names for better errors
      commit: c225b33f917c2d335299d7e0a3dc8d0b3814b85b
[2/7] arm/edk2-firmware: upgrade to 202111
      commit: 58707a85bf5bce60134450da3cfea5542db54268
[3/7] arm-bsp/edk2-firmware: drop N1SDP patches
      commit: 5a8fafb7962a9381c18cdb2c1fc3345e425e0fbb
[4/7] arm/edk2-firmware: set EDK2_ARCH centrally
      commit: bb2bda718635bed908afcf96fbc82a6ce916d968
[5/7] arm/edk2-firmware: organise bbappend
      commit: 282de87aff3c32966c61f4e45f8f2e3d49b36745
[6/7] arm/edk2-firmware: set a default invalid COMPATIBLE_MACHINE
      commit: 6c5086872a24f3d694fb5ffd46db356f5d4dbc8d
[7/7] arm/edk2-firmware: default to release builds
      commit: 31cffcd59c9b2d75a2ca9d7edf395c088a5c12f7

Best regards,

Patch

diff --git a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc
index 66e0cc3e..f38ee9ca 100644
--- a/meta-arm/recipes-bsp/uefi/edk2-firmware.inc
+++ b/meta-arm/recipes-bsp/uefi/edk2-firmware.inc
@@ -23,9 +23,9 @@  SRCREV_FORMAT         = "edk2_edk2-platforms"
 UPSTREAM_CHECK_GITTAGREGEX = "^edk2-stable(?P<pver>\d+)$"
 
 EDK2_BUILD_RELEASE = ""
-EDK2_PLATFORM      = ""
+EDK2_PLATFORM      = "unset"
 # build --platform
-EDK2_PLATFORM_DSC  = ""
+EDK2_PLATFORM_DSC  = "unset"
 EDK2_BIN_NAME      = ""
 # build --arch
 EDK2_ARCH          = ""