Revision: 16609
          http://sourceforge.net/p/edk2/code/16609
Author:   lersek
Date:     2015-01-14 16:25:48 +0000 (Wed, 14 Jan 2015)
Log Message:
-----------
ShellPkg: UefiShellLib: drop wrong PathLib library class dependency

SVN r16601 ("MdeModulePkg, MdePkg, NetworkPkg, OvmfPkg, PerformancePkg,
ShellPkg: Library Migration.") incorporated ShellPkg/Library/BasePathLib
into MdePkg/Library/BaseLib. BasePathLib had been the only instance of
library class PathLib.

Even so, SVN r16606 ("ShellPkg: allow creating of files to create required
directory path") added a PathLib dependency to
"ShellPkg/Library/UefiShellLib/UefiShellLib.inf".

This breaks edk2 platforms that build the "new" UEFI shell from source.
Undo the wrong dependency.

Similarly, update the <Library/PathLib.h> #include directive to
<Library/BaseLib.h> (example function prototype: PathRemoveLastItem()).

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/16601
    http://sourceforge.net/p/edk2/code/16606

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c
    trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf

Modified: trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c     2015-01-13 
23:35:33 UTC (rev 16608)
+++ trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.c     2015-01-14 
16:25:48 UTC (rev 16609)
@@ -15,7 +15,7 @@
 #include "UefiShellLib.h"
 #include <ShellBase.h>
 #include <Library/SortLib.h>
-#include <Library/PathLib.h>
+#include <Library/BaseLib.h>
 
 #define FIND_XXXXX_FILE_BUFFER_SIZE (SIZE_OF_EFI_FILE_INFO + MAX_FILE_NAME_LEN)
 

Modified: trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf   2015-01-13 
23:35:33 UTC (rev 16608)
+++ trunk/edk2/ShellPkg/Library/UefiShellLib/UefiShellLib.inf   2015-01-14 
16:25:48 UTC (rev 16609)
@@ -48,7 +48,6 @@
   UefiLib
   HiiLib
   SortLib
-  PathLib
 
 [Protocols]
   gEfiSimpleFileSystemProtocolGuid              # ALWAYS_CONSUMED


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to