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 # git://git.openpandora.org/pandora-kernel.git , branch pandora-3.2
13 # commit: 249197068c299a407a72f3c4cb88e75f3cdf3d6b
14 # out-of-tree modules are built from:
15 # http://git.openpandora.org/cgi-bin/gitweb.cgi?p=sgx.git
16 # http://notaz.gp2x.de/misc/pnd/oe_rootfs_extra_modules.tar.bz2
17 SRC_URI = "http://notaz.gp2x.de/misc/pnd/oe_rootfs_extra_${PR}.tar.bz2"
26 FILES_${PN} = "boot lib"
28 pkg_postinst_${PN} () {
29 # this will cause depmod to be run on next boot
30 rm -f /lib/modules/`uname -r`/modules.dep
33 if ! grep -q '[[:blank:]]/[[:blank:]]*ubifs' /proc/mounts; then
34 test -e /media/PANDORABOOT/uImage && oldkernel=/media/PANDORABOOT/uImage
35 test -e /media/PANDORABOOT/uImage-3 && oldkernel=/media/PANDORABOOT/uImage-3
36 test -e /media/BOOT/uImage && oldkernel=/media/BOOT/uImage
37 test -e /media/BOOT/uImage-3 && oldkernel=/media/BOOT/uImage-3
39 if test -n "$oldkernel"; then
40 cp /boot/uImage-3 $oldkernel
41 msg="Updated kernel has beed copied to ${oldkernel}. \
42 If this location is wrong, copy /boot/uImage-3 to the location \
43 where your kernel is booted from (usually set in boot.txt / autoboot.txt)."
45 msg="The kernel in /boot/uImage-3 has been updated. You need to \
46 copy it to the location where kernel is booted from (usually set in \
47 boot.txt / autoboot.txt) or the system might not start after reboot."
50 if test -n "$DISPLAY"; then
51 zenity --info --text "$msg"
53 echo "=================================="
61 SRC_URI[md5sum] = "772168e344a0b6eb73996e5d180f29e9"
62 SRC_URI[sha256sum] = "3bf351a0b2d25b8e7d61b283b6f3f359b3c6a909e047ef1897292615ad655dd3"