From 06b41211b9cec9ffb12c834956cb9d11aeaa11e3 Mon Sep 17 00:00:00 2001 From: Raymond Danks Date: Wed, 31 May 2006 21:59:26 +0000 Subject: classes bootimg.bbclass - This creates a bootable image using syslinux, your kernel and an optional initrd kernel.bbclass - drivers/crypto and include/acpi are needed by some pkgconfig.bbclass - searching for .pc files syslinux.bbclass - This creates a configuration file suitable for use with syslinux. site mipsel-linux, i486-linux, i686-linux, x86_64-linux updates for: gcc, lmbench, X11R7.0, sudo, audacity conf add db1200 and geodelx machine configurations. --- classes/kernel.bbclass | 12 +++++++++++- classes/pkgconfig.bbclass | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index ad51c4e035..502a2a677d 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -109,6 +109,16 @@ kernel_do_stage() { mkdir -p ${STAGING_KERNEL_DIR}/include/pcmcia cp -fR include/pcmcia/* ${STAGING_KERNEL_DIR}/include/pcmcia/ + if [ -d drivers/crypto ]; then + mkdir -p ${STAGING_KERNEL_DIR}/drivers/crypto + cp -fR drivers/crypto/* ${STAGING_KERNEL_DIR}/drivers/crypto/ + fi + + if [ -d include/acpi ]; then + mkdir -p ${STAGING_KERNEL_DIR}/include/acpi + cp -fR include/acpi/* ${STAGING_KERNEL_DIR}/include/acpi/ + fi + if [ -d include/sound ]; then mkdir -p ${STAGING_KERNEL_DIR}/include/sound cp -fR include/sound/* ${STAGING_KERNEL_DIR}/include/sound/ @@ -133,7 +143,7 @@ kernel_do_stage() { # Check if arch/${ARCH}/Makefile exists and install it if [ -e arch/${ARCH}/Makefile ]; then install -d ${STAGING_KERNEL_DIR}/arch/${ARCH} - install -m 0644 arch/${ARCH}/Makefile ${STAGING_KERNEL_DIR}/arch/${ARCH} + install -m 0644 arch/${ARCH}/Makefile* ${STAGING_KERNEL_DIR}/arch/${ARCH} fi cp -fR include/config* ${STAGING_KERNEL_DIR}/include/ install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE} diff --git a/classes/pkgconfig.bbclass b/classes/pkgconfig.bbclass index 62f15f312d..f2054b0b07 100644 --- a/classes/pkgconfig.bbclass +++ b/classes/pkgconfig.bbclass @@ -20,7 +20,7 @@ def get_pkgconfig_mangle(d): return s do_stage_append () { - for pc in `find ${S} -name '*.pc' | grep -v -- '-uninstalled.pc$'`; do + for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do pcname=`basename $pc` install -d ${PKG_CONFIG_PATH} cat $pc | sed ${@get_pkgconfig_mangle(d)} > ${PKG_CONFIG_PATH}/$pcname -- cgit v1.2.3