* [ptxdist] AUFS tools
@ 2013-01-09 13:08 Erwin Rol
2013-01-09 15:31 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Erwin Rol @ 2013-01-09 13:08 UTC (permalink / raw)
To: ptxdist
Hey all,
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 ?
- Erwin
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] AUFS tools
2013-01-09 13:08 [ptxdist] AUFS tools Erwin Rol
@ 2013-01-09 15:31 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2013-01-09 15:31 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-09 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-09 13:08 [ptxdist] AUFS tools Erwin Rol
2013-01-09 15:31 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox