summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/grub_git.bb
diff options
context:
space:
mode:
authormingli.yu@windriver.com <mingli.yu@windriver.com>2016-08-02 14:38:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-04 15:22:23 +0100
commit1f1ac9fbdac3d74f32e268fda547eb1d0e3c6266 (patch)
tree3426c49993d6be83375ff2337f79ccfa688d4736 /meta/recipes-bsp/grub/grub_git.bb
parent37f1e0c154cf542dee2af143760730b53b749d61 (diff)
downloadpoky-1f1ac9fbdac3d74f32e268fda547eb1d0e3c6266.tar.gz
grub2.inc: run autogen.sh before configure
* When adding new source files from upstream the autogen.sh script needs to be run * Rework grub2-remove-sparc64-setup-from-x86-builds.patch to remove the grub-setup helper program grub-sparc64-setup in Makefile.util.def instead of the previous Makefile.util.am to avoid the update for Makefile.util.am in do_patch phase is overwritten by the autogen.sh in do_configure phase (From OE-Core rev: 949df030cf39e7f551302e1e6f86b0a270cd2181) Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/grub_git.bb')
-rw-r--r--meta/recipes-bsp/grub/grub_git.bb7
1 files changed, 0 insertions, 7 deletions
diff --git a/meta/recipes-bsp/grub/grub_git.bb b/meta/recipes-bsp/grub/grub_git.bb
index 7a900d02b2..493b6956ee 100644
--- a/meta/recipes-bsp/grub/grub_git.bb
+++ b/meta/recipes-bsp/grub/grub_git.bb
@@ -1,7 +1,5 @@
1require grub2.inc 1require grub2.inc
2 2
3DEPENDS += "autogen-native"
4
5DEFAULT_PREFERENCE = "-1" 3DEFAULT_PREFERENCE = "-1"
6DEFAULT_PREFERENCE_arm = "1" 4DEFAULT_PREFERENCE_arm = "1"
7 5
@@ -34,11 +32,6 @@ EXTRA_OECONF = "--with-platform=${GRUBPLATFORM} --disable-grub-mkfont --program-
34 32
35EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}" 33EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', '--enable-largefile', '--disable-largefile', d)}"
36 34
37do_configure_prepend() {
38 ( cd ${S}
39 ${S}/autogen.sh )
40}
41
42do_install_append () { 35do_install_append () {
43 install -d ${D}${sysconfdir}/grub.d 36 install -d ${D}${sysconfdir}/grub.d
44 rm -rf ${D}${libdir}/charset.alias 37 rm -rf ${D}${libdir}/charset.alias