1 DESCRIPTION = "Linux kernel for Dreambox DM500PLUS"
7 # -rX is the patch revision - it's not related to this package's PR
8 SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.tar.bz2 \
9 http://sources.dreamboxupdate.com/download/kernel-patches/linux-2.6.12-dream-ppc-r5.patch.bz2;patch=1;pnum=1"
11 S = "${WORKDIR}/linux-2.6.12"
15 FILES_kernel-image = "/boot/zImage.elf /boot/autoexec.bat"
19 KERNEL_IMAGETYPE = "zImage"
20 KERNEL_OUTPUT = "arch/ppc/boot/images/zImage.elf"
22 do_configure_prepend() {
23 oe_machinstall -m 0644 ${S}/arch/ppc/configs/dm500plus_defconfig ${S}/.config || die "no default configuration for ${MACHINE} available."
27 do_install_append () {
29 install -m 0755 arch/ppc/boot/images/zImage.elf ${D}/boot/zImage.elf
30 echo "/flash/bootlogo.elf" > ${D}/boot/autoexec.bat
31 echo "/flash/zImage.elf" >> ${D}/boot/autoexec.bat
34 pkg_postinst_kernel () {
38 pkg_postrm_kernel () {