From: "Vadim Abrossimov" <vadim_abrossimov@yahoo.com>
To: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>,
Jeff Dike <jdike@addtoit.com>
Cc: User-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: [PATCH] uml: support a separate build tree; support USER_OBJS dependencies
Date: Sun, 13 Feb 2005 19:58:39 +0100 [thread overview]
Message-ID: <opsl5gb1holfdzum@localhost.localdomain> (raw)
In-Reply-To: <20050213164652.GE8859@parcelfarce.linux.theplanet.co.uk>
Following up the dicussion started on the linux-kernel list.
On Sun, 13 Feb 2005 16:46:52 +0000, Al Viro
<viro@parcelfarce.linux.theplanet.co.uk> wrote:
> Err... FWIW, aforementioned patch lacks e.g. vmlinux.lds.S. The latest
> I have on anonftp is ftp.linux.org.uk/pub/people/viro/UML-kbuild; there's
> more in my local tree, but that's a separate story.
Apparently my changes to support 'O=' are quite obsolete: I was not aware
about
the pending patches on http://user-mode-linux.sourceforge.net/patches.html
and about
this mailing list dedicated to the uml development to which I have just
subscribed.
Now I'm aware :->
The second change proposed in my patch concerned USER_OBJS dependences:
I removed specific rules using the generic Kbuild rule just overwriting
'c_flags':
-$(USER_OBJS) : %.o: %.c
- $(CC) $(CFLAGS_$(notdir $@)) $(USER_CFLAGS) -c -o $@ $<
+$(USER_OBJS) : c_flags = -Wp,-MD,$(depfile) $(CFLAGS_$(notdir $@))
$(USER_CFLAGS)
+
I agree that it's not very elegant and robust but it does the job and
could be useful until
Kbuild will provide a clean way to do it.
If you think useful, I may create a patch with this change only.
Should I do it against 2.6.10 as an add-on to the
http://user-mode-linux.sourceforge.net/patches.html
tarball?
That lead me to another question: why we don't use directly BitKeeper? We
could have a repository for uml
development.
Dima
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next parent reply other threads:[~2005-02-13 18:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <opsl43d9yilfdzum@localhost.localdomain>
[not found] ` <200502131813.j1DICsnW002251@ccure.user-mode-linux.org>
[not found] ` <20050213164652.GE8859@parcelfarce.linux.theplanet.co.uk>
2005-02-13 18:58 ` Vadim Abrossimov [this message]
2005-02-13 21:50 ` [uml-devel] Re: [PATCH] uml: support a separate build tree; support USER_OBJS dependencies Jeff Dike
2005-02-13 23:11 ` Vadim Abrossimov
2005-02-16 18:30 ` Blaisorblade
2005-02-19 10:55 ` Vadim Abrossimov
2005-02-24 16:31 ` Blaisorblade
2005-02-19 14:04 ` Vadim Abrossimov
2005-02-24 18:19 ` Blaisorblade
2005-02-14 1:13 ` Al Viro
2005-02-14 5:28 ` Vadim Abrossimov
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=opsl5gb1holfdzum@localhost.localdomain \
--to=vadim_abrossimov@yahoo.com \
--cc=User-mode-linux-devel@lists.sourceforge.net \
--cc=jdike@addtoit.com \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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