diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-04-02 01:55:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-13 22:33:19 +0100 |
commit | 5fd4453d827fd7f5d4eec9292d61d532d074992e (patch) | |
tree | 98838c516748edd426a2ad4bd253642ae982169b /meta/recipes-bsp | |
parent | 9ee62f1da39024ff8941665eba1440faac691582 (diff) | |
download | poky-5fd4453d827fd7f5d4eec9292d61d532d074992e.tar.gz |
grub-efi: add PACKAGECONFIG for grub-mount and device-mapper
We had PACKAGECONFIGs for grub_2.00 and grub_git, we also need them for
grub-efi, otherwise there might be failures as:
grub-2.00/util/grub-mount.c:37:23: fatal error: fuse/fuse.h: No such file or directory
(From OE-Core rev: a7fca64d04949e76805e7acc3f617a1cd4a107a7)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 4 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub_2.00.bb | 4 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub_git.bb | 4 |
3 files changed, 4 insertions, 8 deletions
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index 39469576cc..4d9e3c7287 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
@@ -35,6 +35,10 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' | |||
35 | 35 | ||
36 | inherit autotools gettext texinfo | 36 | inherit autotools gettext texinfo |
37 | 37 | ||
38 | PACKAGECONFIG ??= "" | ||
39 | PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" | ||
40 | PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2" | ||
41 | |||
38 | # grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are | 42 | # grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are |
39 | # conflicted, remove it since no one uses it. | 43 | # conflicted, remove it since no one uses it. |
40 | SYSROOT_PREPROCESS_FUNCS_class-target += "remove_sysroot_mkconfig_lib" | 44 | SYSROOT_PREPROCESS_FUNCS_class-target += "remove_sysroot_mkconfig_lib" |
diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb index a11e960fe5..88a709edb6 100644 --- a/meta/recipes-bsp/grub/grub_2.00.bb +++ b/meta/recipes-bsp/grub/grub_2.00.bb | |||
@@ -6,10 +6,6 @@ PR = "r1" | |||
6 | FILES_${PN}-dbg += "${libdir}/${BPN}/i386-pc/.debug" | 6 | FILES_${PN}-dbg += "${libdir}/${BPN}/i386-pc/.debug" |
7 | 7 | ||
8 | 8 | ||
9 | PACKAGECONFIG ??= "" | ||
10 | PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" | ||
11 | PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2" | ||
12 | |||
13 | EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ | 9 | EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \ |
14 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no" | 10 | --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no" |
15 | 11 | ||
diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb index 3ab675b298..c2760c9ace 100644 --- a/meta/recipes-bsp/grub/grub_git.bb +++ b/meta/recipes-bsp/grub/grub_git.bb | |||
@@ -20,10 +20,6 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' | |||
20 | 20 | ||
21 | inherit autotools gettext texinfo | 21 | inherit autotools gettext texinfo |
22 | 22 | ||
23 | PACKAGECONFIG ??= "" | ||
24 | PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse" | ||
25 | PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2" | ||
26 | |||
27 | # configure.ac has code to set this automagically from the target tuple | 23 | # configure.ac has code to set this automagically from the target tuple |
28 | # but the OE freeform one (core2-foo-bar-linux) don't work with that. | 24 | # but the OE freeform one (core2-foo-bar-linux) don't work with that. |
29 | 25 | ||