diff options
author | Phil Blundell <philb@gnu.org> | 2005-06-27 08:23:32 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-06-27 08:23:32 +0000 |
commit | 30d06c2489a25b1439e68fdac7c3404caa68a792 (patch) | |
tree | 72d4d0156b840122eeed087f85703fc5416c8632 /classes/kernel.bbclass | |
parent | df23118932f22155a5c05b7f97bee3cacd019ece (diff) |
also stage headers from drivers/sound, if it exists.
patch courtesy Pierluigi Frullani
BKrev: 42bfb784vV0OdpC2X3GeCRMDFxadPQ
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r-- | classes/kernel.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 7558c33682..a93ae614de 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -88,6 +88,12 @@ kernel_do_stage() { mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/ + if [ -d drivers/sound ]; then + # 2.4 alsa needs some headers from this directory + mkdir -p ${STAGING_KERNEL_DIR}/include/drivers/sound + cp -fR drivers/sound/*.h ${STAGING_KERNEL_DIR}/include/drivers/sound/ + fi + install -m 0644 .config ${STAGING_KERNEL_DIR}/config-${PV}${KERNEL_LOCALVERSION} ln -sf config-${PV}${KERNEL_LOCALVERSION} ${STAGING_KERNEL_DIR}/.config ln -sf config-${PV}${KERNEL_LOCALVERSION} ${STAGING_KERNEL_DIR}/kernel-config |