From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree.
Date: Sun, 08 Jan 2006 13:08:02 +0100 [thread overview]
Message-ID: <43C100A2.6040605@domain.hid> (raw)
In-Reply-To: <17343.42595.626357.181448@domain.hid>
Gilles Chanteperdrix wrote:
> Hi,
>
> attached is a patch of Xenomai trunk build system to allow building
> Linux kernel as part of Xenomai build process. This way, typing make
> install builds and installs the Linux kernel, kernel modules and
> Xenomai.
>
> The patch is a bit young and still has a few drawbacks, but before
> spending to much time on it, I would like to know if anyone is opposed
> to the idea of building Linux in Xenomai build tree.
>
> To try this patch, apply and run the bootstrap script.
> 3 options are then added to configure :
> --enable-linux-build Build Linux in Xenomai build tree
> --with-linux-srcdir specify the path to Linux sources. Default is to
> use, if not cross-compiling, the source of the
> running kernel or /usr/src/linux.
--enable-linux-build=<linux-tree> ?
> --with-adeos-patch specify the path to the Adeos patch. Default is to
> infer the patch name from Linux kernel version.
>
> When using the --enable-linux-build option, configure creates a linux
> tree in Xenomai build tree, and run the prepare-kernel.sh script for
> this tree. Typing "make" re-runs prepare-kernel.sh (in case some changes
> occured in Xenomai sources) and run make in the kernel tree.
>
> Known limitations are:
> - it is not very well tested, so, maybe some error cases are not handled
> correctly ;
> - it is not tested with Linux 2.4 ;
> - for an unknown reason, xenomai modules are built every time
> prepare-kernel.sh is run ;
> - the cross-compilation prefix is inferred from the CC variable, it
> should work in most situations, but not all.
>
> Happy new year.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
next prev parent reply other threads:[~2006-01-08 12:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-07 11:30 [Xenomai-core] [rfc] Building Linux kernel in Xenomai tree Gilles Chanteperdrix
2006-01-07 18:04 ` Gilles Chanteperdrix
2006-01-07 18:38 ` Jan Kiszka
2006-01-07 19:32 ` Gilles Chanteperdrix
2006-01-07 19:58 ` Jan Kiszka
2006-01-07 21:24 ` Gilles Chanteperdrix
2006-01-08 12:08 ` Philippe Gerum [this message]
2006-01-08 13:08 ` Gilles Chanteperdrix
2006-01-08 14:17 ` Philippe Gerum
2006-01-08 16:55 ` Gilles Chanteperdrix
2006-01-08 19:23 ` Philippe Gerum
2006-01-08 20:22 ` Gilles Chanteperdrix
2006-01-08 21:39 ` Philippe Gerum
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=43C100A2.6040605@domain.hid \
--to=rpm@xenomai.org \
--cc=gilles.chanteperdrix@xenomai.org \
--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.