-LICENSE = "GPL"
-SECTION = "base"
DESCRIPTION = "Configuration file for kexecboot"
-
+SECTION = "base"
+LICENSE = "GPL"
PR = "r9"
-PACKAGE_ARCH = "${MACHINE_ARCH}"
SRC_URI = "file://icon.xpm"
CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd"
CMDLINE_CON_collie = "console=ttySA0,115200n8 console=tty1 noinitrd rw"
CMDLINE_CON_qemuarm = "console=ttyAMA0,115200n8 console=tty1 noinitrd"
-
CMDLINE_MEM = ""
CMDLINE_MEM_collie = "mem=64M"
-
CMDLINE_ROTATE = ""
CMDLINE_ROTATE_spitz = "fbcon=rotate:1"
CMDLINE_ROTATE_akita = "fbcon=rotate:1"
CMDLINE_ROTATE_collie = "fbcon=rotate:1"
CMDLINE_ROTATE_poodle = "fbcon=rotate:1"
-
-#CMDLINE_OTHER = "dyntick=enable"
CMDLINE_OTHER = ""
-
-CMDLINE_DEBUG = '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}'
-
-CMDLINE = ${CMDLINE_CON}
-CMDLINE += ${CMDLINE_MEM}
-CMDLINE += ${CMDLINE_ROTATE}
-CMDLINE += ${CMDLINE_OTHER}
-CMDLINE += ${CMDLINE_DEBUG}
-
-FILES_${PN} += "/boot/*"
+CMDLINE_DEBUG = "${@base_conditional('DISTRO_TYPE', 'release', 'quiet', 'debug',d)}"
+CMDLINE = "${CMDLINE_CON}"
+CMDLINE += "${CMDLINE_MEM}"
+CMDLINE += "${CMDLINE_ROTATE}"
+CMDLINE += "${CMDLINE_OTHER}"
+CMDLINE += "${CMDLINE_DEBUG}"
do_configure_prepend () {
install -m 0644 ${WORKDIR}/icon.xpm ${S}
}
-
do_install_prepend () {
-
echo '# Show this label in kexecboot menu.
LABEL=${DISTRO}
#
# PRIORITY=10
#' >> ${S}/boot.cfg
}
-
do_install () {
install -d ${D}/boot
install -m 0644 boot.cfg ${D}/boot/boot.cfg
install -m 0644 icon.xpm ${D}/boot/icon.xpm
}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FILES_${PN} += "/boot/*"
LICENSE = "GPL"
-# the binary is statically linked against klibc
-inherit klibc
-inherit autotools
-
-RDEPENDS_${PN} = "kexec-klibc"
-
-# The binary itself is not machine-specific
-# but the EXTRA_OECONF overrides have this effect
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
# You can create your own *-img.h by doing
# ./make-image-header.sh <file>.png HAND
+# Defaults as in ver 0.5+0.6b
-SRC_URI += "file://logo-img.h \
- file://logo.png \
- "
+SRC_URI += "file://logo-img.h file://logo.png"
+
+inherit autotools
-# Defaults as in ver 0.5+0.6b
#############################
# Optional Features:
# --disable-option-checking ignore unrecognized --enable/--with options
EXTRA_OECONF_spitz = "--with-zaurus"
EXTRA_OECONF_poodle = "--with-zaurus"
EXTRA_OECONF_tosa = "--with-zaurus"
-
EXTRA_OECONF_omap3 = "--with-uimage"
do_configure_prepend () {
install -m 0644 ${WORKDIR}/logo-img.h ${S}/res/
install -m 0644 ${WORKDIR}/logo.png ${S}/res/
}
-
do_install () {
install -d ${D}${bindir}
install -m 0755 kexecboot ${D}${bindir}/
-
install -d ${D}/proc
install -d ${D}/mnt
}
+# The binary itself is not machine-specific
+# but the EXTRA_OECONF overrides have this effect
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt"
pkg_postinst_${PN} () {