Add a new "none" platform that only builds utilities
authorColin Watson <cjwatson@ubuntu.com>
Tue, 23 Sep 2014 11:06:30 +0000 (12:06 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Tue, 23 Sep 2014 11:06:30 +0000 (12:06 +0100)
commit5d90f6e533d82abf89f9e1787f90f17f2fab14aa
treec1395e6191ab46fe4c6549a5272c59403cfb61cf
parent954fe77163dc12ccbb3d958b9dbb330aa59b62fe
Add a new "none" platform that only builds utilities

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.  Define COND_real_platform Automake conditional
if the platform is anything other than "none".  Don't do any include
directory linking for "none".
* Makefile.am: Skip building grub-core and all bootcheck targets if
!COND_real_platform.
* include/grub/time.h: Don't include <grub/cpu/time.h> if GRUB_UTIL
is defined.
ChangeLog
Makefile.am
configure.ac
include/grub/time.h