]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OptionRomPkg: .dsc fixes for ARM/AARCH64 and USB drivers
authorLeif Lindholm <leif.lindholm@linaro.org>
Sun, 4 Sep 2016 13:16:19 +0000 (14:16 +0100)
committerLeif Lindholm <leif.lindholm@linaro.org>
Fri, 9 Sep 2016 19:41:43 +0000 (20:41 +0100)
Drivers under OptionRomPkg wouldn't build standalone, since ARM and
AARCH64 were missing from SUPPORTED_ARCHITECTURES. So add them.
Also, add some compiler libraries needed for ARM/AARCH64 GCC
toolchains (CompilerIntrinsicsLib and BaseSwStackCheckLib).

Also, the UsbNetworking drivers were not listed under [Components],
so failed to build standalone. This patch adds them.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
OptionRomPkg/OptionRomPkg.dsc

index 03592f8a3c111cbc01b453210e8a59738c4480a2..33655567109b5e2be574f1c57081a160bc31194c 100644 (file)
@@ -7,6 +7,7 @@
 # A single driver can support mixes of EFI 1.1, UEFI 2.0 and UEFI 2.1.\r
 #\r
 # Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>\r
 #\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
@@ -29,7 +30,7 @@
   PLATFORM_VERSION               = 0.1\r
   DSC_SPECIFICATION              = 0x00010005\r
   OUTPUT_DIRECTORY               = Build/OptionRomPkg\r
-  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC\r
+  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64|EBC|ARM|AARCH64\r
   BUILD_TARGETS                  = DEBUG|RELEASE\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
 \r
+[LibraryClasses.AARCH64, LibraryClasses.ARM]\r
+  NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
+\r
+[LibraryClasses.ARM]\r
+  NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
+\r
 ################################################################################\r
 #\r
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
   OptionRomPkg/CirrusLogic5430Dxe/CirrusLogic5430Dxe.inf\r
   OptionRomPkg/UndiRuntimeDxe/UndiRuntimeDxe.inf\r
   OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/FtdiUsbSerialDxe.inf\r
+  OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/Ax88772.inf\r
+  OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772b.inf\r
 \r
 [Components.IA32, Components.X64, Components.IPF]\r
   OptionRomPkg/Application/BltLibSample/BltLibSample.inf\r