nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0080-Work-around-some-minor-include-path-weirdnesses.patch

5593c8
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
5593c8
From: Peter Jones <pjones@redhat.com>
5593c8
Date: Fri, 16 Mar 2018 13:28:57 -0400
5593c8
Subject: [PATCH] Work around some minor include path weirdnesses
5593c8
5593c8
Signed-off-by: Peter Jones <pjones@redhat.com>
5593c8
---
5593c8
 include/grub/arm/efi/console.h    | 24 ++++++++++++++++++++++++
5593c8
 include/grub/arm64/efi/console.h  | 24 ++++++++++++++++++++++++
5593c8
 include/grub/i386/efi/console.h   | 24 ++++++++++++++++++++++++
5593c8
 include/grub/x86_64/efi/console.h | 24 ++++++++++++++++++++++++
5593c8
 4 files changed, 96 insertions(+)
5593c8
 create mode 100644 include/grub/arm/efi/console.h
5593c8
 create mode 100644 include/grub/arm64/efi/console.h
5593c8
 create mode 100644 include/grub/i386/efi/console.h
5593c8
 create mode 100644 include/grub/x86_64/efi/console.h
5593c8
5593c8
diff --git a/include/grub/arm/efi/console.h b/include/grub/arm/efi/console.h
5593c8
new file mode 100644
d3c3ab
index 00000000000..1592f6f76b5
5593c8
--- /dev/null
5593c8
+++ b/include/grub/arm/efi/console.h
5593c8
@@ -0,0 +1,24 @@
5593c8
+/*
5593c8
+ *  GRUB  --  GRand Unified Bootloader
5593c8
+ *  Copyright (C) 2002,2005,2006,2007  Free Software Foundation, Inc.
5593c8
+ *
5593c8
+ *  GRUB is free software: you can redistribute it and/or modify
5593c8
+ *  it under the terms of the GNU General Public License as published by
5593c8
+ *  the Free Software Foundation, either version 3 of the License, or
5593c8
+ *  (at your option) any later version.
5593c8
+ *
5593c8
+ *  GRUB is distributed in the hope that it will be useful,
5593c8
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
5593c8
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5593c8
+ *  GNU General Public License for more details.
5593c8
+ *
5593c8
+ *  You should have received a copy of the GNU General Public License
5593c8
+ *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
5593c8
+ */
5593c8
+
5593c8
+#ifndef GRUB_ARM_EFI_CONSOLE_H
5593c8
+#define GRUB_ARM_EFI_CONSOLE_H
5593c8
+
5593c8
+#include <efi/console.h>
5593c8
+
5593c8
+#endif /* ! GRUB_ARM_EFI_CONSOLE_H */
5593c8
diff --git a/include/grub/arm64/efi/console.h b/include/grub/arm64/efi/console.h
5593c8
new file mode 100644
d3c3ab
index 00000000000..95689339384
5593c8
--- /dev/null
5593c8
+++ b/include/grub/arm64/efi/console.h
5593c8
@@ -0,0 +1,24 @@
5593c8
+/*
5593c8
+ *  GRUB  --  GRand Unified Bootloader
5593c8
+ *  Copyright (C) 2002,2005,2006,2007  Free Software Foundation, Inc.
5593c8
+ *
5593c8
+ *  GRUB is free software: you can redistribute it and/or modify
5593c8
+ *  it under the terms of the GNU General Public License as published by
5593c8
+ *  the Free Software Foundation, either version 3 of the License, or
5593c8
+ *  (at your option) any later version.
5593c8
+ *
5593c8
+ *  GRUB is distributed in the hope that it will be useful,
5593c8
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
5593c8
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5593c8
+ *  GNU General Public License for more details.
5593c8
+ *
5593c8
+ *  You should have received a copy of the GNU General Public License
5593c8
+ *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
5593c8
+ */
5593c8
+
5593c8
+#ifndef GRUB_ARM64_EFI_CONSOLE_H
5593c8
+#define GRUB_ARM64_EFI_CONSOLE_H
5593c8
+
5593c8
+#include <efi/console.h>
5593c8
+
5593c8
+#endif /* ! GRUB_ARM64_EFI_CONSOLE_H */
5593c8
diff --git a/include/grub/i386/efi/console.h b/include/grub/i386/efi/console.h
5593c8
new file mode 100644
d3c3ab
index 00000000000..9231375cb07
5593c8
--- /dev/null
5593c8
+++ b/include/grub/i386/efi/console.h
5593c8
@@ -0,0 +1,24 @@
5593c8
+/*
5593c8
+ *  GRUB  --  GRand Unified Bootloader
5593c8
+ *  Copyright (C) 2002,2005,2006,2007  Free Software Foundation, Inc.
5593c8
+ *
5593c8
+ *  GRUB is free software: you can redistribute it and/or modify
5593c8
+ *  it under the terms of the GNU General Public License as published by
5593c8
+ *  the Free Software Foundation, either version 3 of the License, or
5593c8
+ *  (at your option) any later version.
5593c8
+ *
5593c8
+ *  GRUB is distributed in the hope that it will be useful,
5593c8
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
5593c8
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5593c8
+ *  GNU General Public License for more details.
5593c8
+ *
5593c8
+ *  You should have received a copy of the GNU General Public License
5593c8
+ *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
5593c8
+ */
5593c8
+
5593c8
+#ifndef GRUB_I386_EFI_CONSOLE_H
5593c8
+#define GRUB_I386_EFI_CONSOLE_H
5593c8
+
5593c8
+#include <efi/console.h>
5593c8
+
5593c8
+#endif /* ! GRUB_I386_EFI_CONSOLE_H */
5593c8
diff --git a/include/grub/x86_64/efi/console.h b/include/grub/x86_64/efi/console.h
5593c8
new file mode 100644
d3c3ab
index 00000000000..dba9d8678d0
5593c8
--- /dev/null
5593c8
+++ b/include/grub/x86_64/efi/console.h
5593c8
@@ -0,0 +1,24 @@
5593c8
+/*
5593c8
+ *  GRUB  --  GRand Unified Bootloader
5593c8
+ *  Copyright (C) 2002,2005,2006,2007  Free Software Foundation, Inc.
5593c8
+ *
5593c8
+ *  GRUB is free software: you can redistribute it and/or modify
5593c8
+ *  it under the terms of the GNU General Public License as published by
5593c8
+ *  the Free Software Foundation, either version 3 of the License, or
5593c8
+ *  (at your option) any later version.
5593c8
+ *
5593c8
+ *  GRUB is distributed in the hope that it will be useful,
5593c8
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
5593c8
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5593c8
+ *  GNU General Public License for more details.
5593c8
+ *
5593c8
+ *  You should have received a copy of the GNU General Public License
5593c8
+ *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>.
5593c8
+ */
5593c8
+
5593c8
+#ifndef GRUB_X86_64_EFI_CONSOLE_H
5593c8
+#define GRUB_X86_64_EFI_CONSOLE_H
5593c8
+
5593c8
+#include <efi/console.h>
5593c8
+
5593c8
+#endif /* ! GRUB_X86_64_EFI_CONSOLE_H */