Openembedded Core Discussions
 help / color / mirror / Atom feed
* Staging machine specific kernel headers in sysroot
@ 2016-04-02  3:38 Andre McCurdy
  2016-04-02  5:19 ` Khem Raj
  2016-04-02  8:48 ` Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Andre McCurdy @ 2016-04-02  3:38 UTC (permalink / raw)
  To: OE Core mailing list

Say I have a kernel driver with a user space API (simple struct and
ioctl definitions) defined in a header file which is part of my
machine specific kernel. The header file is not found in the upstream
kernel, so doesn't clash with anything in linux-libc-headers.

Is it OK to use something like the following in my kernel recipe?

  sysroot_stage_all_append () {
    install -d ${SYSROOT_DESTDIR}/${includedir}/linux
    install -m644 ${S}/include/linux/foo.h
${SYSROOT_DESTDIR}/${includedir}/linux/
  }

I've tested it and everything seems to work fine, but I'm wondering if
bypassing do_install like that is going to cause problems somehow?


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

end of thread, other threads:[~2016-04-05  6:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-02  3:38 Staging machine specific kernel headers in sysroot Andre McCurdy
2016-04-02  5:19 ` Khem Raj
2016-04-02  8:48 ` Richard Purdie
2016-04-02  9:30   ` Khem Raj
2016-04-05  6:11   ` Mike Looijmans

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