nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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