From: Christian Kellermann <christian.kellermann@solectrix.de>
To: buildroot@busybox.net
Subject: [Buildroot] Forcing build of custom kernel headers
Date: Mon, 03 Jul 2017 17:00:49 +0200 [thread overview]
Message-ID: <87eftxefa6.fsf@sx4173-linuxdev.solectrix.de> (raw)
Hi List,
I have a rather peculiar system setup: A 64 bit PPC kernel running a 32
bit buildroot. ATM I solve this by using two default configs ? one for
the kernel and one for the rootfs. A simple shell script copies the
kernel artifacts back and forth so the kernel can be included in the
rootfs image.
The kernel in question is a custom kernel tree in a git repository.
Now some userland application needs kernel headers from that kernel. As
I understand buildroot would install the uapi-headers into staging/
automatically. But with my setup no kernel gets build for the 32bit
rootfs.
I have tried to set BR2_KERNEL_HEADERS_AS_KERNEL and the respective
CUSTOM kernel variables in my defconfig. However the build system will
always fall back to the BR2_DEFAULT_KERNEL_HEADERS version.
So tl;dr: I want to make the linux-headers package use my custom kernel
headers from a git repo but don?t know how to do this without building a
kernel.
Any thoughts?
Thanks,
Christian
next reply other threads:[~2017-07-03 15:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 15:00 Christian Kellermann [this message]
2017-07-03 15:59 ` [Buildroot] Forcing build of custom kernel headers Arnout Vandecappelle
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=87eftxefa6.fsf@sx4173-linuxdev.solectrix.de \
--to=christian.kellermann@solectrix.de \
--cc=buildroot@busybox.net \
/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.