summaryrefslogtreecommitdiff
path: root/packages/kexecboot/kexecboot-cfg_0.1.bb
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2009-02-09 04:38:31 +0000
committerRod Whitby <rod@whitby.id.au>2009-02-09 04:38:31 +0000
commit121f43bd68c80c1c15d1d9ec5cfe83ffb33e3fbb (patch)
tree1fb7c8ad4ad5fe8e69b0a1e2749cbde9868d4607 /packages/kexecboot/kexecboot-cfg_0.1.bb
parent66192bbdaab409dff4b6f812dbd5c07cd943cdac (diff)
parent7f4149db1ab21d402bd448431a57e31dddfc578d (diff)
Merge branch 'org.openembedded.dev' of git://git.openembedded.net/openembedded into org.openembedded.dev
Diffstat (limited to 'packages/kexecboot/kexecboot-cfg_0.1.bb')
-rw-r--r--packages/kexecboot/kexecboot-cfg_0.1.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/kexecboot/kexecboot-cfg_0.1.bb b/packages/kexecboot/kexecboot-cfg_0.1.bb
new file mode 100644
index 0000000000..394e531760
--- /dev/null
+++ b/packages/kexecboot/kexecboot-cfg_0.1.bb
@@ -0,0 +1,25 @@
+LICENSE = "GPL"
+SECTION = "base"
+DESCRIPTION = "Configuration file for kexecboot"
+
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd"
+CMDLINE_CON_collie = "console=ttySA0,115200n8 console=tty1 noinitrd"
+CMDLINE_CON_qemuarm = "console=ttyAMA0,115200n8 console=tty1 noinitrd"
+
+CMDLINE_DEBUG = '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}'
+
+CMDLINE_MEM_collie = "mem=${mem}M"
+
+CMDLINE_ROTATE_spitz = "fbcon=rotate:1"
+CMDLINE_ROTATE_akita = "fbcon=rotate:1"
+CMDLINE_ROTATE_collie = "fbcon=rotate:1"
+CMDLINE_ROTATE_poodle = "fbcon=rotate:1"
+FILES_${PN} += "/boot/*"
+
+do_install () {
+ install -d ${D}/boot
+ echo "${CMDLINE_CON} ${CMDLINE_MEM} ${CMDLINE_ROTATE} ${CMDLINE_OTHER} ${CMDLINE_DEBUG}"> ${D}/boot/kernel-cmdline
+}