Fix in-tree --platform=none
authorColin Watson <cjwatson@ubuntu.com>
Thu, 25 Sep 2014 19:59:26 +0000 (20:59 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Thu, 25 Sep 2014 19:59:26 +0000 (20:59 +0100)
* configure.ac: Only remove include/grub/cpu and
include/grub/machine in the --platform=none case, not all of
include/grub.

ChangeLog
configure.ac

index 08cc7c6..192e8bc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        Add a new "none" platform that only builds utilities
index fdf0fdc..31d2b0b 100644 (file)
@@ -1755,7 +1755,7 @@ if test "$platform" != none; then
 else
   # Just enough to stop the compiler failing with -I$(srcdir)/include.
   mkdir -p include 2>/dev/null
-  rm -rf include/grub
+  rm -rf include/grub/cpu include/grub/machine
 fi
 
 AC_CONFIG_FILES([Makefile])