change usbtunerhelper src_uri.
[vuplus_openembedded] / recipes / kexecboot / kexecboot.inc
1 LICENSE = "GPL"
2
3 DEPENDS = "klibc"
4 RDEPENDS_${PN} = "kexec-klibc-static"
5
6 inherit autotools
7
8 # You can create your own *-img.h by doing
9 # ./make-image-header.sh <file>.png HAND
10
11 SRC_URI += "file://logo-img.h \
12             file://logo.png \
13             "
14
15 export CC=${TARGET_PREFIX}klcc
16
17 # for output on serial console: --enable-debug
18 EXTRA_OECONF_akita = "--with-zaurus"
19 EXTRA_OECONF_c7x0 = "--with-zaurus"
20 EXTRA_OECONF_spitz = "--with-zaurus"
21 EXTRA_OECONF_poodle = "--with-zaurus"
22 EXTRA_OECONF_tosa = "--with-zaurus"
23
24 EXTRA_OECONF_omap3 = "--with-uimage"
25
26 do_configure_prepend () {
27     install -m 0644 ${WORKDIR}/logo-img.h ${S}/res/
28     install -m 0644 ${WORKDIR}/logo.png ${S}/res/
29 }
30
31 do_install () {
32         install -d ${D}${bindir}
33         install -m 0755 kexecboot ${D}${bindir}/
34
35         install -d ${D}/proc
36         install -d ${D}/mnt
37 }
38
39 FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt"
40
41 pkg_postinst_${PN} () {
42         ln -sf ${bindir}/kexecboot $D/init
43 }