lguest: move the lguest tool to the tools directory
Davidlohr Bueso [Thu, 12 Jan 2012 05:14:47 +0000 (15:14 +1030)]
This is a better location instead of having it in Documentation.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (fixed compile)

tools/lguest/.gitignore [moved from Documentation/virtual/lguest/.gitignore with 100% similarity]
tools/lguest/Makefile [moved from Documentation/virtual/lguest/Makefile with 100% similarity]
tools/lguest/extract [moved from Documentation/virtual/lguest/extract with 100% similarity]
tools/lguest/lguest.c [moved from Documentation/virtual/lguest/lguest.c with 99% similarity]
tools/lguest/lguest.txt [moved from Documentation/virtual/lguest/lguest.txt with 100% similarity]

index 8ac947c..c419750 100644 (file)
@@ -18,7 +18,7 @@ Mastery: PREFIX=M
        @for f in Preparation Guest Drivers Launcher Host Switcher Mastery; do echo "{==- $$f -==}"; make -s $$f; done; echo "{==-==}"
 Preparation Preparation! Guest Drivers Launcher Host Switcher Mastery:
-       @sh ../../Documentation/virtual/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`
+       @sh ../../tools/lguest/extract $(PREFIX) `find ../../* -name '*.[chS]' -wholename '*lguest*'`
        @printf "      __  \n (___()'\`;\n /,    /\`\n \\\\\\\"--\\\\\\   \n"
similarity index 99%
rename from Documentation/virtual/lguest/lguest.c
rename to tools/lguest/lguest.c
index c095d79..f759f4f 100644 (file)
@@ -49,7 +49,7 @@
 #include <linux/virtio_rng.h>
 #include <linux/virtio_ring.h>
 #include <asm/bootparam.h>
-#include "../../../include/linux/lguest_launcher.h"
+#include "../../include/linux/lguest_launcher.h"
  * We can ignore the 43 include files we need for this program, but I do want
  * to draw attention to the use of kernel-style types.