mesa-7.9: bump PR after talloc changes
[openembedded.git] / recipes / kexecboot / kexecboot.inc
bloba55ff83b374c0cf412fc246af2a31ccd7a5fa388
1 LICENSE = "GPL"
3 # You can create your own *-img.h by doing
4 # ./make-image-header.sh <file>.png HAND
5 # Defaults as in ver 0.5+0.6b
7 SRC_URI += "file://logo-img.h file://logo.png"
9 inherit autotools
11 #############################
12 # Optional Features:
13 #  --disable-option-checking  ignore unrecognized --enable/--with options
14 #  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
15 #  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
16 #  --enable-maintainer-mode  enable make rules and dependencies not useful
17 #                          (and sometimes confusing) to the casual installer
18 #  --enable-devices-recreating
19 #                          enable devices re-creating [default=yes]
20 #  --enable-debug          enable debug output [default=no]
21 #  --enable-host-debug     allow for non-destructive executing of kexecboot on
22 #                          host system[default=no]
23 #  --disable-dependency-tracking  speeds up one-time build
24 #  --enable-dependency-tracking   do not reject slow dependency extractors
26 # Optional Packages:
27 #  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
28 #  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
29 #  --with-static-linking   compiles kexecboot as a static executable
30 #                          [default=no]
31 #  --with-fbmenu           support framebuffer menu [default=yes]
32 #  --with-cfgfiles         support config files [default=yes]
33 #  --with-icons            support custom icons (depends on fbmenu)
34 #                          [default=yes]
35 #  --with-zaurus           compile Sharp Zaurus specific code [default=no]
36 #  --with-zimage           compile with zImage support [default=yes]
37 #  --with-uimage           compile with uImage support [default=no]
38 #  --with-machine-kernel   enable looking for machine-specific zImage kernel
39 #                          [default=no]
40 ############################
42 EXTRA_OECONF_akita = "--with-zaurus"
43 EXTRA_OECONF_c7x0 = "--with-zaurus"
44 EXTRA_OECONF_spitz = "--with-zaurus"
45 EXTRA_OECONF_poodle = "--with-zaurus"
46 EXTRA_OECONF_tosa = "--with-zaurus"
47 EXTRA_OECONF_omap3 = "--with-uimage"
49 do_configure_prepend () {
50         install -m 0644 ${WORKDIR}/logo-img.h ${S}/res/
51         install -m 0644 ${WORKDIR}/logo.png ${S}/res/
53 do_install () {
54         install -d ${D}${bindir}
55         install -m 0755 kexecboot ${D}${bindir}/
56         install -d ${D}/proc
57         install -d ${D}/mnt
60 # The binary itself is not machine-specific
61 # but the EXTRA_OECONF overrides have this effect
62 PACKAGE_ARCH = "${MACHINE_ARCH}"
64 FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt"
66 pkg_postinst_${PN} () {
67         ln -sf ${bindir}/kexecboot $D/init