summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRaymond Danks <raymond@edanks.com>2006-05-31 21:59:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-31 21:59:26 +0000
commit06b41211b9cec9ffb12c834956cb9d11aeaa11e3 (patch)
tree5b04e2e6dc090b4defaa0d973baf6a7eb923e9c7 /classes
parent2de37f2649fbea19b30360e626f9764c43e53918 (diff)
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.
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass12
-rw-r--r--classes/pkgconfig.bbclass2
2 files changed, 12 insertions, 2 deletions
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