diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-04-14 01:59:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-14 13:26:01 +0100 |
commit | 53d629496f344d07e7ab261d789918cd80308b45 (patch) | |
tree | e73b3c864dee63c468ca5699692210eac5fd6a77 /meta/recipes-bsp/grub/grub-efi-native_1.99.bb | |
parent | 7503db67134cf5007d080eed6771cf88bebbe9bd (diff) | |
download | poky-53d629496f344d07e7ab261d789918cd80308b45.tar.gz |
grub-1.99: use gcc-cross for building the target binaries
It was using distro gcc to build binaries for target. This got detected
on fedora 17 alpha, on which it hit an gcc-4.7 issue.
This Fixes Bug: [Yocto #2291]
More information in the patch header
Thanks to Saul Wold for suggesting to remove the --target parameter from
EXTRA_OECONF var.
(From OE-Core rev: 26ae0e53411c1ea3afbb2e0c6d9dc2f1b0690751)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub-efi-native_1.99.bb')
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi-native_1.99.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-bsp/grub/grub-efi-native_1.99.bb b/meta/recipes-bsp/grub/grub-efi-native_1.99.bb index 93e9290848..4f8a4bcc5d 100644 --- a/meta/recipes-bsp/grub/grub-efi-native_1.99.bb +++ b/meta/recipes-bsp/grub/grub-efi-native_1.99.bb | |||
@@ -16,14 +16,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | |||
16 | # FIXME: We should be able to optionally drop freetype as a dependency | 16 | # FIXME: We should be able to optionally drop freetype as a dependency |
17 | DEPENDS = "help2man-native autogen-native" | 17 | DEPENDS = "help2man-native autogen-native" |
18 | RDEPENDS_${PN} = "diffutils freetype" | 18 | RDEPENDS_${PN} = "diffutils freetype" |
19 | PR = "r6" | 19 | PR = "r7" |
20 | 20 | ||
21 | # Native packages do not normally rebuild when the target changes. | 21 | # Native packages do not normally rebuild when the target changes. |
22 | # Ensure this is built once per HOST-TARGET pair. | 22 | # Ensure this is built once per HOST-TARGET pair. |
23 | PN := "grub-efi-${TRANSLATED_TARGET_ARCH}-native" | 23 | PN := "grub-efi-${TRANSLATED_TARGET_ARCH}-native" |
24 | 24 | ||
25 | SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ | 25 | SRC_URI = "ftp://ftp.gnu.org/gnu/grub/grub-${PV}.tar.gz \ |
26 | file://grub-1.99_fix_for_automake_1.11.2.patch" | 26 | file://grub-1.99_fix_for_automake_1.11.2.patch \ |
27 | file://grub-1.99-fpmath-sse-387-fix.patch" | ||
27 | 28 | ||
28 | SRC_URI[md5sum] = "ca9f2a2d571b57fc5c53212d1d22e2b5" | 29 | SRC_URI[md5sum] = "ca9f2a2d571b57fc5c53212d1d22e2b5" |
29 | SRC_URI[sha256sum] = "b91f420f2c51f6155e088e34ff99bea09cc1fb89585cf7c0179644e57abd28ff" | 30 | SRC_URI[sha256sum] = "b91f420f2c51f6155e088e34ff99bea09cc1fb89585cf7c0179644e57abd28ff" |