1 DESCRIPTION = "3.2 Linux kernel for the Pandora handheld console"
4 COMPATIBLE_MACHINE = "omap3-pandora"
5 PACKAGE_ARCH = "${MACHINE_ARCH}"
9 # we already build 2.6 kernel using OE infrastructure, and
10 # as we don't know how to build another one into the same image
11 # (especially out-of-tree modules), we just package manually prebuilt one
12 SRC_URI = "http://notaz.gp2x.de/misc/pnd/oe_rootfs_extra_r5.tar.bz2"
21 FILES_${PN} = "boot lib"
23 pkg_postinst_${PN} () {
24 # this will cause depmod to be run on next boot
25 rm -f /lib/modules/`uname -r`/modules.dep
28 if ! grep -q '[[:blank:]]/[[:blank:]]*ubifs' /proc/mounts; then
29 test -e /media/PANDORABOOT/uImage && oldkernel=/media/PANDORABOOT/uImage
30 test -e /media/PANDORABOOT/uImage-3 && oldkernel=/media/PANDORABOOT/uImage-3
31 test -e /media/BOOT/uImage && oldkernel=/media/BOOT/uImage
32 test -e /media/BOOT/uImage-3 && oldkernel=/media/BOOT/uImage-3
34 if test -n "$oldkernel"; then
35 cp /boot/uImage-3 $oldkernel
36 msg="Updated kernel has beed copied to ${oldkernel}. \
37 If this location is wrong, copy /boot/uImage-3 to the location \
38 where your kernel is booted from (usually set in boot.txt / autoboot.txt)."
40 msg="The kernel in /boot/uImage-3 has been updated. You need to \
41 copy it to the location where kernel is booted from (usually set in \
42 boot.txt / autoboot.txt) or the system might not start after reboot."
45 if test -n "$DISPLAY"; then
46 zenity --info --text "$msg"
48 echo "=================================="
56 SRC_URI[md5sum] = "fe5c4a5ab9e28494b472e2818fed96f2"
57 SRC_URI[sha256sum] = "48b8d2d2fcc9f4b3e353c6b02bcaab59d294d8145293fe5832b6319f409e4cd7"