NetworkPkg: Add RISC-V architecture for EDK2 CI.
[mirror_edk2.git] / NetworkPkg / NetworkPkg.dsc
1 ## @file\r
2 # UEFI 2.4 Network Module Package for All Architectures\r
3 #\r
4 # (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>\r
5 # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
6 # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
7 #    SPDX-License-Identifier: BSD-2-Clause-Patent\r
8 #\r
9 ##\r
10 \r
11 [Defines]\r
12   PLATFORM_NAME                  = NetworkPkg\r
13   PLATFORM_GUID                  = 3FD34E9B-E90C-44e1-B510-1F632A509F10\r
14   PLATFORM_VERSION               = 0.98\r
15   DSC_SPECIFICATION              = 0x00010005\r
16   OUTPUT_DIRECTORY               = Build/NetworkPkg\r
17   SUPPORTED_ARCHITECTURES        = IA32|X64|EBC|ARM|AARCH64|RISCV64\r
18   BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
19   SKUID_IDENTIFIER               = DEFAULT\r
20 \r
21 [LibraryClasses]\r
22   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
23   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
24   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
25   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
26   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
27   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
28   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
29   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
30   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
31   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
32   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
33   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
34   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
35   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
36   UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf\r
37   TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r
38   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf\r
39   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
40   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf\r
41   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
42   SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf\r
43 \r
44 !ifdef CONTINUOUS_INTEGRATION\r
45   BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf\r
46   TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf\r
47 !else\r
48   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
49   OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
50   IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
51   TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf\r
52 !endif\r
53   DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
54   FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
55   FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf\r
56   SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
57 \r
58 [LibraryClasses.common.UEFI_DRIVER]\r
59   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
60   ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
61   DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
62 \r
63 [LibraryClasses.common.UEFI_APPLICATION]\r
64   DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf\r
65   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
66 \r
67 [LibraryClasses.ARM, LibraryClasses.AARCH64]\r
68   #\r
69   # It is not possible to prevent ARM compiler calls to generic intrinsic functions.\r
70   # This library provides the instrinsic functions generated by a given compiler.\r
71   # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
72   #\r
73   NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
74   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
75   ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
76 \r
77 [PcdsFeatureFlag]\r
78   gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE\r
79   gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE\r
80 \r
81 [PcdsFixedAtBuild]\r
82   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f\r
83   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
84 \r
85 ###################################################################################################\r
86 #\r
87 # Components Section - list of the modules and components that will be processed by compilation\r
88 #                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
89 #\r
90 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
91 #       into firmware volume images. This section is just a list of modules to compile from\r
92 #       source into UEFI-compliant binaries.\r
93 #       It is the FDF file that contains information on combining binary files into firmware\r
94 #       volume images, whose concept is beyond UEFI and is described in PI specification.\r
95 #       Binary modules do not need to be listed in this section, as they should be\r
96 #       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
97 #       Logo (Logo.bmp), and etc.\r
98 #       There may also be modules listed in this section that are not required in the FDF file,\r
99 #       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
100 #       generated for it, but the binary will not be put into any firmware volume.\r
101 #\r
102 ###################################################################################################\r
103 \r
104 [Components]\r
105   NetworkPkg/WifiConnectionManagerDxe/WifiConnectionManagerDxe.inf\r
106   NetworkPkg/Application/VConfig/VConfig.inf\r
107   NetworkPkg/Library/DxeDpcLib/DxeDpcLib.inf\r
108   NetworkPkg/Library/DxeHttpLib/DxeHttpLib.inf\r
109   NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.inf\r
110   NetworkPkg/Library/DxeNetLib/DxeNetLib.inf\r
111   NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.inf\r
112   NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.inf\r
113 \r
114   !include NetworkPkg/Network.dsc.inc\r
115 \r
116 [BuildOptions]\r
117   *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r