From: Paul Chavent <paul.chavent@fnac.net>
To: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: jdike@addtoit.com, user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [PATCH] for ARCH=um, optionaly give a path for the vde installation.
Date: Fri, 06 May 2011 20:10:20 +0200 [thread overview]
Message-ID: <4DC4398C.2070307@fnac.net> (raw)
In-Reply-To: <BANLkTimDwsBk-MvFFABgf0kzx3WHkt6uMA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 607 bytes --]
On 05/06/2011 09:52 AM, richard -rw- weinberger wrote:
>
> On Thu, May 5, 2011 at 9:34 AM,<paul.chavent@fnac.net> wrote:
>> Hi.
>>
>> I use uml with vde. The kernel links against libvdeplug.a and automatically find it. But i would like to manually give its path.
>>
>> So i made a patch for being able to give the VDE_PREFIX when we call make.
>>
>> I wonder if this patch could be included in the mainstream kernel, or if there is a better way of doing it.
>>
>> Could you give me your opinion please ?
>
> Please post your patch.
> Otherwise nobody can review it.
>
Damned
thank you for reminding me :)
[-- Attachment #2: linux-2.6.33.4-uml_vde_prefix.patch --]
[-- Type: text/plain, Size: 722 bytes --]
diff -Nur linux-2.6.26.5.orig/arch/um/drivers/Makefile linux-2.6.26.5.mod/arch/um/drivers/Makefile
--- linux-2.6.26.5.orig/arch/um/drivers/Makefile 2008-08-02 00:58:24.000000000 +0200
+++ linux-2.6.26.5.mod/arch/um/drivers/Makefile 2008-08-06 14:09:04.000000000 +0200
@@ -19,7 +19,12 @@
LDFLAGS_pcap.o := -r $(shell $(CC) $(KBUILD_CFLAGS) -print-file-name=libpcap.a)
-LDFLAGS_vde.o := -r $(shell $(CC) $(CFLAGS) -print-file-name=libvdeplug.a)
+ifdef VDE_PREFIX
+ LDFLAGS_vde.o := -r $(VDE_PREFIX)/lib/libvdeplug.a
+ CFLAGS_vde_user.o := -I$(VDE_PREFIX)/include/
+else
+ LDFLAGS_vde.o := -r $(shell $(CC) $(CFLAGS) -print-file-name=libvdeplug.a)
+endif
targets := pcap_kern.o pcap_user.o vde_kern.o vde_user.o
[-- Attachment #3: Type: text/plain, Size: 355 bytes --]
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
[-- Attachment #4: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2011-05-06 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-05 7:34 [uml-devel] [PATCH] for ARCH=um, optionaly give a path for the vde installation paul.chavent
2011-05-06 7:52 ` richard -rw- weinberger
2011-05-06 18:10 ` Paul Chavent [this message]
2011-05-08 22:08 ` richard -rw- weinberger
2011-05-09 7:20 ` Geert Uytterhoeven
2011-05-09 7:39 ` richard -rw- weinberger
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=4DC4398C.2070307@fnac.net \
--to=paul.chavent@fnac.net \
--cc=jdike@addtoit.com \
--cc=richard.weinberger@gmail.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox