[PATCH] Add config option to prefer Linux kernel versions by substring match

2014-09-07 Thread Doug Brunner
Hi all, First time submitting - please let me know if I'm doing anything wrong. This patch adds an option, GRUB_LINUX_PREF_VERSION_SUBSTR, that can be set to prioritize Linux kernels containing a given substring. This takes precedence over version ordering, so if you have 3.14.1-generic, 3.14.2

[PATCH] Add a new "none" platform that only builds utilities

2014-09-07 Thread Colin Watson
This makes it possible to build generally-useful utilities such as grub-mount even if the rest of GRUB has not been ported to the target CPU. * configure.ac: Add "none" platform. Default to it for unsupported CPUs rather than stopping with a fatal error. Don't downgrade x86_64-none to i386. Def

Re: [RFC PATCH 2/3] Files reorganization and include some libgcc fuctions

2014-09-07 Thread Colin Watson
On Thu, Aug 28, 2014 at 04:56:04PM -0300, Paulo Flabiano Smorigo wrote: > diff --git a/grub-core/kern/misc.c b/grub-core/kern/misc.c > index c5c815d..353a207 100644 > --- a/grub-core/kern/misc.c > +++ b/grub-core/kern/misc.c > @@ -1342,3 +1342,110 @@ grub_real_boot_time (const char *file, >grub