]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
lguest: move the lguest tool to the tools directory
authorDavidlohr Bueso <dave@gnu.org>
Thu, 12 Jan 2012 05:14:47 +0000 (15:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 12 Jan 2012 05:14:47 +0000 (15:44 +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 8ac947c7e7c77e11cb08d8482221fb8e48087685..c4197503900ed3a1457e27d3a1c05207952036be 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 c095d79cae73d1acf8d2ae9991661be35be008bd..f759f4f097c7f5ea2693a0257b914e78fea113bb 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.