]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Changes required to build using the new device abstraction capability of StdLib.
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 28 Jun 2011 02:38:33 +0000 (02:38 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 28 Jun 2011 02:38:33 +0000 (02:38 +0000)
Applications which require file-system functionality must have DevShell listed in the [LibraryClasses] section of the application's INF file.
Entries for the device abstraction Library Classes must be added to the application's package's DSC file.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11909 6f19259b-4bc3-4df7-8a09-765794883524

AppPkg/AppPkg.dsc
AppPkg/Applications/Main/Main.inf

index ffa4b0f69c133a367054c0a3408dc4d460f99c33..d0c7a56ee253e81c583a35999f37e60a852f5129 100644 (file)
   LibSignal|StdLib/LibC/Signal/Signal.inf\r
   LibNetUtil|StdLib/LibC/NetUtil/NetUtil.inf\r
 \r
+  # Libraries for device abstractions within the Standard C Library\r
+  # Applications should not directly access any functions defined in these libraries.\r
+  DevUtility|StdLib/LibC/Uefi/Devices/daUtility.inf\r
+  DevConsole|StdLib/LibC/Uefi/Devices/daConsole.inf\r
+  DevShell|StdLib/LibC/Uefi/Devices/daShell.inf\r
+\r
 [LibraryClasses.IA32]\r
   TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r
   ## Comment out the above line and un-comment the line below for running under Nt32 emulation.\r
index 750cf55d55707c7741d03e12a9c4e7a78bb2c46c..434c14593b0842da60781f43207d3f9db0d5bef2 100644 (file)
@@ -35,8 +35,8 @@
 [LibraryClasses]\r
   LibC\r
   LibStdio\r
-#  UefiLib\r
-#  ShellCEntryLib\r
+  DevShell\r
+\r
 \r
 [BuildOptions]\r
   MSFT:*_*_IA32_CC_FLAGS  = /Oi-\r