All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>,
	Jan Kiszka <jan.kiszka@domain.hid>,
	xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Re: [Xenomai-core] [ANNOUNCE] Xenomai Example Repository
Date: Fri, 01 Dec 2006 23:59:08 +0100	[thread overview]
Message-ID: <1165013948.4952.186.camel@domain.hid> (raw)
In-Reply-To: <4570B112.8010204@domain.hid>

On Fri, 2006-12-01 at 23:47 +0100, Wolfgang Grandegger wrote:
> >

[...]

>  
> > This said, I agree that adding a fake module directory to capture the
> > flags set by the main kernel Makefile is one step beyond ugliness; the
> > other approach being to only provide a 2.6 Makefile frag. As 2007
> > approaches, I think that anyone still involved with projects relying on
> > 2.4 kernels do know how to build 2.4 modules for the targeted platform.
> 
> I think the example modules should compile on any platform and the 
> "kernel CFLAGS capturing" trick is the most straight-forward way to do 
> it for 2.4. It simplifies our life, avoids fiddling with various arch 
> dependent flags in the Makefile, which will be even more ugly, and it 
> serves as an example on how to get proper flags. Therefore I tend to add 
> an appropriate script to the "scripts" subdirectory.

That would be acceptable too; the capture trick is ugly, but if we
really want to have the generic examples available to all platforms, I
see no other way to get the exact compilation and link flags. So it's
basically a matter of choice: either we don't provide any Makefile frag
for 2.4, or we implement the capture trick so that every platform can
compile them.

-- 
Philippe.




  reply	other threads:[~2006-12-01 22:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-01 10:24 [Xenomai-core] [ANNOUNCE] Xenomai Example Repository Jan Kiszka
2006-12-01 16:45 ` Wolfgang Grandegger
2006-12-01 17:22   ` Jan Kiszka
2006-12-01 17:54     ` [Xenomai-help] " Philippe Gerum
2006-12-01 22:47       ` Wolfgang Grandegger
2006-12-01 22:59         ` Philippe Gerum [this message]
2006-12-01 22:35     ` Wolfgang Grandegger
2006-12-03 14:53       ` Jan Kiszka
2006-12-03 21:14         ` Wolfgang Grandegger
2006-12-03 21:19           ` Jan Kiszka

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=1165013948.4952.186.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=wg@domain.hid \
    --cc=xenomai@xenomai.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.