From c170188511c99c248e552740d48c3f10eb745b74 Mon Sep 17 00:00:00 2001 From: Nitin A Kamble Date: Fri, 4 May 2012 11:34:58 -0700 Subject: grub-0.97: fix build with automake 1.12 (From OE-Core rev: e5a7b3af75fdc2dc2335d859faf5be2eb7f31f2e) Signed-off-by: Nitin A Kamble Signed-off-by: Richard Purdie --- .../grub-0.97/grub_fix_for_automake-1.12.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 meta/recipes-bsp/grub/grub-0.97/grub_fix_for_automake-1.12.patch (limited to 'meta/recipes-bsp/grub/grub-0.97') diff --git a/meta/recipes-bsp/grub/grub-0.97/grub_fix_for_automake-1.12.patch b/meta/recipes-bsp/grub/grub-0.97/grub_fix_for_automake-1.12.patch new file mode 100644 index 0000000000..97ee0ad225 --- /dev/null +++ b/meta/recipes-bsp/grub/grub-0.97/grub_fix_for_automake-1.12.patch @@ -0,0 +1,48 @@ +Upstream-Status: Pending + +automake 1.12 has depricated automatic de-ANSI-fication support + +this patch avoids these kinds of errors: + +| stage1/Makefile.am:2: error: 'pkglibdir' is not a legitimate directory for 'DATA' +| stage2/Makefile.am:35: error: 'pkglibdir' is not a legitimate directory for 'DATA' +| stage2/Makefile.am:46: error: 'pkglibdir' is not a legitimate directory for 'DATA' +| autoreconf: automake failed with exit status: 1 +| ERROR: autoreconf execution failed. + +Signed-Off-By: Nitin A Kamble +2012/05/04 + +Index: grub-0.97/stage1/Makefile.am +=================================================================== +--- grub-0.97.orig/stage1/Makefile.am ++++ grub-0.97/stage1/Makefile.am +@@ -1,5 +1,5 @@ + pkglibdir = $(libdir)/$(PACKAGE)/$(host_cpu)-$(host_vendor) +-nodist_pkglib_DATA = stage1 ++nodist_pkgdata_DATA = stage1 + + CLEANFILES = $(nodist_pkglib_DATA) + +Index: grub-0.97/stage2/Makefile.am +=================================================================== +--- grub-0.97.orig/stage2/Makefile.am ++++ grub-0.97/stage2/Makefile.am +@@ -32,7 +32,7 @@ pkglibdir = $(libdir)/$(PACKAGE)/$(host_ + EXTRA_PROGRAMS = nbloader.exec pxeloader.exec diskless.exec + + if DISKLESS_SUPPORT +-pkglib_DATA = stage2 stage2_eltorito e2fs_stage1_5 fat_stage1_5 \ ++pkgdata_DATA = stage2 stage2_eltorito e2fs_stage1_5 fat_stage1_5 \ + ffs_stage1_5 iso9660_stage1_5 jfs_stage1_5 minix_stage1_5 \ + reiserfs_stage1_5 ufs2_stage1_5 vstafs_stage1_5 xfs_stage1_5 \ + nbgrub pxegrub +@@ -43,7 +43,7 @@ noinst_PROGRAMS = pre_stage2.exec start. + reiserfs_stage1_5.exec ufs2_stage1_5.exec vstafs_stage1_5.exec \ + xfs_stage1_5.exec nbloader.exec pxeloader.exec diskless.exec + else +-pkglib_DATA = stage2 stage2_eltorito e2fs_stage1_5 fat_stage1_5 \ ++pkgdata_DATA = stage2 stage2_eltorito e2fs_stage1_5 fat_stage1_5 \ + ffs_stage1_5 iso9660_stage1_5 jfs_stage1_5 minix_stage1_5 \ + reiserfs_stage1_5 ufs2_stage1_5 vstafs_stage1_5 xfs_stage1_5 + noinst_DATA = pre_stage2 start start_eltorito -- cgit v1.2.3-54-g00ecf