From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] AUFS tools
Date: Wed, 9 Jan 2013 16:31:00 +0100 [thread overview]
Message-ID: <20130109153100.GL13335@pengutronix.de> (raw)
In-Reply-To: <50ED6BDE.50901@erwinrol.com>
Hi,
On Wed, Jan 09, 2013 at 02:08:46PM +0100, Erwin Rol wrote:
> I have a custom kernel with AUFS and a userpsace package that needs
> kernel headers.
>
> I now have a very bad (works for me only) hack that does the following
> in the aufs3-util.make ;
>
> CFLAGS='$(CROSS_CFLAGS)
> -I${PTXDIST_WORKSPACE}/../rootfs/local_src/kernel.Seco_T30/include/
>
> Is there a better way to have a package use kernel headers from a
> "local_src" kernel ?
Is AUFS added as kernel patches? If yes, the it should be enough to set the
version of the kernel-headers package to the kernel version. Then it uses
the same patches and you can use KERNEL_HEADERS_INCLUDE_DIR
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
--
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2013-01-09 15:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 13:08 Erwin Rol
2013-01-09 15:31 ` Michael Olbrich [this message]
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=20130109153100.GL13335@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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