4 RDEPENDS = "kexec-static"
8 # You can create your own *-img.h by doing
9 # ./make-image-header.sh <file>.png HAND
11 SRC_URI = "http://projects.linuxtogo.org/~jay7/kexecboot-${PV}.tar.gz \
12 file://add-reboot-option.patch;patch=1 \
13 file://scan_devices-top.patch;patch=1 \
14 file://graphical-no-devices.patch;patch=1 \
15 file://switch-cursor-off.patch;patch=1 \
16 file://add-sleep.patch;patch=1 \
17 file://silent-output-hack.patch;patch=1 \
18 file://kexecboot-tosa.patch;patch=1 \
19 file://fb-render-16bit.patch;patch=1 \
24 S = "${WORKDIR}/kexecboot-${PV}"
26 export CC=${TARGET_PREFIX}klcc
28 # standard oe cflags don't work with klcc
33 do_configure_prepend () {
34 install -m 0644 ${WORKDIR}/logo-img.h ${S}/res/
35 install -m 0644 ${WORKDIR}/logo.png ${S}/res/
39 install -d ${D}${bindir}
40 install -m 0755 kexecboot ${D}${bindir}/
46 FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt"
48 pkg_postinst_${PN} () {
49 ln -sf ${bindir}/kexecboot $D/init