nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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