summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub-efi_2.00.bb
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2018-03-22 10:53:07 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-05 15:13:48 +0100
commitb85ff208bc0e03b48ff4a7d90f56b212f2dc65ff (patch)
tree961c3e4fcb80c64125353d9eb69abfa0fff7a675 /meta/recipes-bsp/grub/grub-efi_2.00.bb
parente782da1fbdc9f40178a4d029bb996648e346f2e7 (diff)
downloadpoky-b85ff208bc0e03b48ff4a7d90f56b212f2dc65ff.tar.gz
grub-efi: fix build failure
grub-efi build fails with the following error on Fedora 26: | ../grub-2.00/util/raid.c: In function 'grub_util_raid_getmembers': | ../grub-2.00/util/raid.c:91:13: error: In the GNU C Library, "makedev" is defined | by <sys/sysmacros.h>. For historical compatibility, it is | currently defined by <sys/types.h> as well, but we plan to | remove this soon. To use "makedev", include <sys/sysmacros.h> | directly. If you did not intend to use a system-defined macro | "makedev", you should undefine it after including <sys/types.h>. [-Werror] | makedev (disk.major, disk.minor)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Resolve the build error by backporting the fix from upstream. [YOCTO #12595] (From OE-Core rev: a57e3e387a962a253e8f4f1519141eb7f8ce5e41) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub-efi_2.00.bb')
-rw-r--r--meta/recipes-bsp/grub/grub-efi_2.00.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi_2.00.bb b/meta/recipes-bsp/grub/grub-efi_2.00.bb
index 5a0dc954a3..013fe42ee3 100644
--- a/meta/recipes-bsp/grub/grub-efi_2.00.bb
+++ b/meta/recipes-bsp/grub/grub-efi_2.00.bb
@@ -6,6 +6,7 @@ PR = "r3"
6 6
7SRC_URI += " \ 7SRC_URI += " \
8 file://cfg \ 8 file://cfg \
9 file://0001-configure-fix-check-for-sys-sysmacros.h-under-glibc-.patch \
9 " 10 "
10 11
11S = "${WORKDIR}/grub-${PV}" 12S = "${WORKDIR}/grub-${PV}"