diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2012-02-21 00:21:56 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-22 09:40:26 +0100 |
commit | 31f161628e122207426bffbec40b4e5c14ee9c4d (patch) | |
tree | cb1c1c1f07a8cced8f0ba0682c8df8ff44468734 /meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc | |
parent | efeb92404138e72b67c5d3100211e3dbabb84c76 (diff) | |
download | meta-openembedded-contrib-31f161628e122207426bffbec40b4e5c14ee9c4d.tar.gz |
meta-initramfs: add kexecboot recipes from meta-handheld
* (purged from device specific settings)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc')
-rw-r--r-- | meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc b/meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc new file mode 100644 index 0000000000..a205904e4f --- /dev/null +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc @@ -0,0 +1,54 @@ +########################### +# Configure options: +# +# --enable-static-linking compile kexecboot as static executable [default=no] +# --enable-fbui support framebuffer menu [default=yes] +# --enable-fbui-width limit FB UI width to specified value [default=no] +# --enable-fbui-height limit FB UI height to specified value [default=no] +# --enable-textui support console text user interface [default=no] +# --enable-cfgfiles support config files [default=yes] +# --enable-icons support custom icons (depends on fbui) [default=yes] +# --enable-zaurus compile Sharp Zaurus specific code [default=no] +# --enable-zimage compile with zImage support [default=yes] +# --enable-uimage compile with uImage support [default=no] +# --enable-machine-kernel look for machine-specific zImage kernel [default=no] +# --enable-devices-recreating +# enable devices re-creating [default=yes] +# --enable-debug enable debug output [default=no] +# --enable-host-debug allow for non-destructive executing of kexecboot on +# host system [default=no] +# --enable-numkeys enable menu item selection by keys [0-9] [default=yes] +# --enable-bg-buffer enable buffer for pre-drawed FB GUI background +# +# --enable-timeout allow to boot 1st kernel after timeout in seconds +# [default=no] +# --enable-delay specify delay before device scanning, allowing +# initialization of old CF/SD cards [default=1] +# --enable-bpp enable support of specified bpp modes +# (all,32,24,18,16,4,2,1) [default=all] +# --enable-evdev-rate change evdev (keyboard/mouse) repeat rate +# in milliseconds e.g. "1000,250" [default=no] +# --with-kexec-binary look for kexec binary at path +# [default="/usr/sbin/kexec"] +########################## +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +inherit autotools + +EXTRA_OECONF = "--enable-delay=2 --enable-evdev-rate=1000,250" + +do_install () { + install -d ${D}${bindir} + install -m 0755 kexecboot ${D}${bindir}/ + install -d ${D}/proc + install -d ${D}/mnt + install -d ${D}/dev +} + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt /dev" + +pkg_postinst_${PN} () { + ln -sf ${bindir}/kexecboot $D/init +} |