diff mbox series

[edk2,edk2-staging,03/20] IntelUndiPkg/XGigUndiDxe: consistently use forward slashes as path separators

Message ID 20181115023353.20159-4-ard.biesheuvel@linaro.org
State New
Headers show
Series IntelUndiPkg/XGigUndiDxe: fix GCC / ARM build issues | expand

Commit Message

Ard Biesheuvel Nov. 15, 2018, 2:33 a.m. UTC
Replace backslashes in paths with forward slashes to be compatible with
non-Windows OSes.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 IntelUndiPkg/XGigUndiDxe/Decode.c        |  2 +-
 IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf | 14 +++++++-------
 IntelUndiPkg/XGigUndiDxe/Xgbe.h          |  2 +-
 IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h   |  4 ++--
 4 files changed, 11 insertions(+), 11 deletions(-)

-- 
2.17.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Ryszard Knop Jan. 30, 2019, 3:49 p.m. UTC | #1
Reviewed-by: Ryszard Knop <ryszard.knop@linux.intel.com>


On Wed, 2018-11-14 at 18:33 -0800, ard.biesheuvela wrote:
> Replace backslashes in paths with forward slashes to be compatible

> with

> non-Windows OSes.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>

> ---

>  IntelUndiPkg/XGigUndiDxe/Decode.c        |  2 +-

>  IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf | 14 +++++++-------

>  IntelUndiPkg/XGigUndiDxe/Xgbe.h          |  2 +-

>  IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h   |  4 ++--

>  4 files changed, 11 insertions(+), 11 deletions(-)

> 

> diff --git a/IntelUndiPkg/XGigUndiDxe/Decode.c

> b/IntelUndiPkg/XGigUndiDxe/Decode.c

> index 70fbce64c64f..5f37ce254872 100644

> --- a/IntelUndiPkg/XGigUndiDxe/Decode.c

> +++ b/IntelUndiPkg/XGigUndiDxe/Decode.c

> @@ -28,7 +28,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE

> POSSIBILITY OF SUCH DAMAGE.

>  ********************************************************************

> *******/

>  

>  #include "Xgbe.h"

> -#include <Uefi\UEfiPxe.h>

> +#include <Uefi/UefiPxe.h>

>  

>  // Forward declarations for UNDI function table

>  /** This routine determines the operational state of the UNDI.  It

> updates the state flags in the

> diff --git a/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf

> b/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf

> index 7ccc52bc9869..beee8aa8134e 100644

> --- a/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf

> +++ b/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf

> @@ -110,13 +110,13 @@ GCC:*_*_*_CC_FLAGS = -DEFI32

>   Version.h

>   HiiInternalLib.c

>   HiiInternalLib.h

> -  wol\wol.c

> -  wol\wol.h

> -  wol\wolfamily.c

> -  wol\wolimpl.c

> -  wol\wolimpl.h

> -  wol\wolinfo.c

> -  wol\wol_10G.c

> +  wol/wol.c

> +  wol/wol.h

> +  wol/wolfamily.c

> +  wol/wolimpl.c

> +  wol/wolimpl.h

> +  wol/wolinfo.c

> +  wol/wol_10G.c

>  

>  [Packages]

>    MdePkg/MdePkg.dec

> diff --git a/IntelUndiPkg/XGigUndiDxe/Xgbe.h

> b/IntelUndiPkg/XGigUndiDxe/Xgbe.h

> index 5ab088362f90..4472cfb4fa31 100644

> --- a/IntelUndiPkg/XGigUndiDxe/Xgbe.h

> +++ b/IntelUndiPkg/XGigUndiDxe/Xgbe.h

> @@ -69,7 +69,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE

> POSSIBILITY OF SUCH DAMAGE.

>  #include <Library/UefiLib.h>

>  #include <Library/BaseLib.h>

>  #include <Library/DevicePathLib.h>

> -#include <Library\PrintLib.h>

> +#include <Library/PrintLib.h>

>  

>  #include <IndustryStandard/Pci.h>

>  

> diff --git a/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h

> b/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h

> index 368f40811904..e324b0539782 100644

> --- a/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h

> +++ b/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h

> @@ -39,8 +39,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE

> POSSIBILITY OF SUCH DAMAGE.

>  

>  #include <Uefi.h>

>  #include <Base.h>

> -#include <Library\BaseLib.h>

> -#include <Library\BaseMemoryLib.h>

> +#include <Library/BaseLib.h>

> +#include <Library/BaseMemoryLib.h>

>  #include <Library/PrintLib.h>

>  

>  #define CHAR            CHAR8


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox series

Patch

diff --git a/IntelUndiPkg/XGigUndiDxe/Decode.c b/IntelUndiPkg/XGigUndiDxe/Decode.c
index 70fbce64c64f..5f37ce254872 100644
--- a/IntelUndiPkg/XGigUndiDxe/Decode.c
+++ b/IntelUndiPkg/XGigUndiDxe/Decode.c
@@ -28,7 +28,7 @@  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 ***************************************************************************/
 
 #include "Xgbe.h"
-#include <Uefi\UEfiPxe.h>
+#include <Uefi/UefiPxe.h>
 
 // Forward declarations for UNDI function table
 /** This routine determines the operational state of the UNDI.  It updates the state flags in the
diff --git a/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf b/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf
index 7ccc52bc9869..beee8aa8134e 100644
--- a/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf
+++ b/IntelUndiPkg/XGigUndiDxe/XGigUndiDxe.inf
@@ -110,13 +110,13 @@  GCC:*_*_*_CC_FLAGS = -DEFI32
  Version.h
  HiiInternalLib.c
  HiiInternalLib.h
-  wol\wol.c
-  wol\wol.h
-  wol\wolfamily.c
-  wol\wolimpl.c
-  wol\wolimpl.h
-  wol\wolinfo.c
-  wol\wol_10G.c
+  wol/wol.c
+  wol/wol.h
+  wol/wolfamily.c
+  wol/wolimpl.c
+  wol/wolimpl.h
+  wol/wolinfo.c
+  wol/wol_10G.c
 
 [Packages]
   MdePkg/MdePkg.dec
diff --git a/IntelUndiPkg/XGigUndiDxe/Xgbe.h b/IntelUndiPkg/XGigUndiDxe/Xgbe.h
index 5ab088362f90..4472cfb4fa31 100644
--- a/IntelUndiPkg/XGigUndiDxe/Xgbe.h
+++ b/IntelUndiPkg/XGigUndiDxe/Xgbe.h
@@ -69,7 +69,7 @@  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include <Library/UefiLib.h>
 #include <Library/BaseLib.h>
 #include <Library/DevicePathLib.h>
-#include <Library\PrintLib.h>
+#include <Library/PrintLib.h>
 
 #include <IndustryStandard/Pci.h>
 
diff --git a/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h b/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h
index 368f40811904..e324b0539782 100644
--- a/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h
+++ b/IntelUndiPkg/XGigUndiDxe/ixgbe_osdep.h
@@ -39,8 +39,8 @@  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 #include <Uefi.h>
 #include <Base.h>
-#include <Library\BaseLib.h>
-#include <Library\BaseMemoryLib.h>
+#include <Library/BaseLib.h>
+#include <Library/BaseMemoryLib.h>
 #include <Library/PrintLib.h>
 
 #define CHAR            CHAR8