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_r4.tar.bz2"
21 FILES_${PN} = "boot lib"
23 pkg_postinst_${PN} () {
24 if ! grep -q '[[:blank:]]/[[:blank:]]*ubifs' /proc/mounts; then
25 test -e /media/PANDORABOOT/uImage && oldkernel=/media/PANDORABOOT/uImage
26 test -e /media/PANDORABOOT/uImage-3 && oldkernel=/media/PANDORABOOT/uImage-3
27 test -e /media/BOOT/uImage && oldkernel=/media/BOOT/uImage
28 test -e /media/BOOT/uImage-3 && oldkernel=/media/BOOT/uImage-3
30 if test -n "$oldkernel"; then
31 cp /boot/uImage-3 $oldkernel
32 msg="Updated kernel has beed copied to ${oldkernel}. \
33 If this location is wrong, copy /boot/uImage-3 to the location \
34 where your kernel is booted from (usually set in boot.txt / autoboot.txt)."
36 msg="The kernel in /boot/uImage-3 has been updated. You need to \
37 copy it to the location where kernel is booted from (usually set in \
38 boot.txt / autoboot.txt) or the system might not start after reboot."
40 if test -n "$DISPLAY"; then
41 zenity --info --text "$msg"
43 echo "=================================="
51 SRC_URI[md5sum] = "9e64a15f07c05c0dcb6970a3bdff226e"
52 SRC_URI[sha256sum] = "1d037d2e2d2c2be2a4a37b51a00623f950169b2431d5657191169b767bdbd8d8"