From: Rusty Russell <rusty@rustcorp.com.au>
To: dave@gnu.org, lguest@lists.ozlabs.org
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] lguest: move the lguest tool to the tools directory
Date: Sat, 03 Dec 2011 15:38:42 +1030 [thread overview]
Message-ID: <87k46eqm1x.fsf@rustcorp.com.au> (raw)
In-Reply-To: <1322862759.3264.2.camel@offbook>
On Fri, 02 Dec 2011 22:52:39 +0100, Davidlohr Bueso <dave@gnu.org> wrote:
> From: Davidlohr Bueso <dave@gnu.org>
>
> This is a better location instead of having it in Documentation.
>
> Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Applied, thanks! This has been on my TODO list for ages. Almost since
tools/ was created.
Weird that your patch didn't come through as a simple move and slight
mod though: this way it's a pain to read :( I checked, you didn't
change anything.
But unfortunately that's a problem:
$ make
cc -m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE lguest.c -o lguest
lguest.c:52:52: fatal error: ../../../include/linux/lguest_launcher.h: No such file or directory
compilation terminated.
make: *** [lguest] Error 1
You need this as well:
From: Rusty Russell <rusty@rustcorp.com.au>
Subject: lguest: move the lguest tool to the tools directory (fixes)
Fixup complilation breakage from move.
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
drivers/lguest/Makefile | 2 +-
tools/lguest/lguest.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/lguest/Makefile b/drivers/lguest/Makefile
--- a/drivers/lguest/Makefile
+++ b/drivers/lguest/Makefile
@@ -18,7 +18,7 @@ Mastery: PREFIX=M
Beer:
@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*'`
Puppy:
@clear
@printf " __ \n (___()'\`;\n /, /\`\n \\\\\\\"--\\\\\\ \n"
diff --git a/tools/lguest/lguest.c b/tools/lguest/lguest.c
--- a/tools/lguest/lguest.c
+++ b/tools/lguest/lguest.c
@@ -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"
/*L:110
* 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.
next prev parent reply other threads:[~2011-12-04 10:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-02 21:52 [PATCH] lguest: move the lguest tool to the tools directory Davidlohr Bueso
2011-12-03 5:08 ` Rusty Russell [this message]
2011-12-04 11:24 ` Davidlohr Bueso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k46eqm1x.fsf@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=dave@gnu.org \
--cc=lguest@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.