summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2010-01-02 16:00:40 +0100
committerDenis 'Gnutoo' Carikli <GNUtoo@no-log.org>2010-01-02 16:00:40 +0100
commit6690b8fcee9bc9152948b9a623117dd62bcf45de (patch)
tree7b4f0de615dbf0babda5ef09b78d81dde77d89d7 /classes
parent29c63b640c4e4c852cf3084232ef67c8fd9d3214 (diff)
parent6d5a96970227b845b6a33380e3e7af248cca7594 (diff)
Merge branch 'org.openembedded.dev' of git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'classes')
-rw-r--r--classes/insane.bbclass1
-rw-r--r--classes/kernel.bbclass8
2 files changed, 7 insertions, 2 deletions
diff --git a/classes/insane.bbclass b/classes/insane.bbclass
index 495c3a53aa..804caf06ee 100644
--- a/classes/insane.bbclass
+++ b/classes/insane.bbclass
@@ -61,6 +61,7 @@ def package_qa_get_machine_dict():
"i486": ( 3, 0, 0, True, True),
"i586": ( 3, 0, 0, True, True),
"i686": ( 3, 0, 0, True, True),
+ "mips": ( 8, 0, 0, False, True),
"mipsel": ( 8, 0, 0, True, True),
"avr32": (6317, 0, 0, False, True),
"sh4": (42, 0, 0, True, True),
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 069dcebf3d..83530b5a5e 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -208,8 +208,12 @@ kernel_do_install() {
kernel_do_configure() {
yes '' | oe_runmake oldconfig
if [ ! -z "${INITRAMFS_IMAGE}" ]; then
- cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.cpio.gz" initramfs.cpio.gz
- fi
+ for img in cpio.gz cpio.lzo cpio.lzma; do
+ if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" ]; then
+ cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" initramfs.$img
+ fi
+ done
+ fi
}
do_menuconfig() {