Fix in-tree --platform=none

* configure.ac: Only remove include/grub/cpu and
include/grub/machine in the --platform=none case, not all of
include/grub.
This commit is contained in:
Colin Watson 2014-09-25 20:59:26 +01:00
parent 5d90f6e533
commit 77063f4cb6
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2014-09-25 Colin Watson <cjwatson@ubuntu.com>
Fix in-tree --platform=none
* configure.ac: Only remove include/grub/cpu and
include/grub/machine in the --platform=none case, not all of
include/grub.
2014-09-23 Colin Watson <cjwatson@ubuntu.com> 2014-09-23 Colin Watson <cjwatson@ubuntu.com>
Add a new "none" platform that only builds utilities Add a new "none" platform that only builds utilities

View file

@ -1755,7 +1755,7 @@ if test "$platform" != none; then
else else
# Just enough to stop the compiler failing with -I$(srcdir)/include. # Just enough to stop the compiler failing with -I$(srcdir)/include.
mkdir -p include 2>/dev/null mkdir -p include 2>/dev/null
rm -rf include/grub rm -rf include/grub/cpu include/grub/machine
fi fi
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])