mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] ptxdist: Adding custom kernel headers
@ 2015-01-26 19:16 Guillermo Rodriguez Garcia
  2015-01-27  7:31 ` Markus Niebel
  0 siblings, 1 reply; 7+ messages in thread
From: Guillermo Rodriguez Garcia @ 2015-01-26 19:16 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 794 bytes --]

Hello all,

I wrote a custom driver for my BSP, and I initially made it an out-of-tree
driver (ptxdist newpackage src-linux-driver and so on)

This driver needs to export a header file (defining some ioctl values) for
use by other (custom) ptxdist packages. I am currently exporting this
header file in the "install" stage of the out-of-tree driver:

cp $(MY_DRIVER_DIR)/someheader.h $(PTXDIST_SYSROOT_TARGET)/usr/include

So far so good.

Now I would like to transform this out-of-tree driver into an in-tree
driver and for that I am generating a set of patches against the kernel
tree. My question is: How can I export the custom header in this case? I
assume that modifying the generic kernel.make is not the way to go.

Any hints?

-- 
Guillermo Rodriguez Garcia
guille.rodriguez@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 1079 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-01-28  9:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-26 19:16 [ptxdist] ptxdist: Adding custom kernel headers Guillermo Rodriguez Garcia
2015-01-27  7:31 ` Markus Niebel
2015-01-27 20:28   ` Guillermo Rodriguez Garcia
2015-01-27 20:45     ` Guillermo Rodriguez Garcia
2015-01-28  8:44       ` Juergen Borleis
2015-01-28  9:21         ` Guillermo Rodriguez Garcia
2015-01-28  9:45           ` Juergen Borleis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox