summaryrefslogtreecommitdiff
path: root/classes/kernel.oeclass
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-08-17 12:44:30 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-08-17 12:44:30 +0000
commitc8d061c3cce88349a18b5070170c05a167465380 (patch)
treef6a6d70ff6996a1d470fa21ad9bf955c95b95911 /classes/kernel.oeclass
parent10e66db03ddf82c79a57f0c2f381bc27db49e1e0 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2004/08/17 14:44:22+02:00 uni-frankfurt.de!mickey - add variable for kernel console to kernel.oeclass: KERNEL_CONSOLE - make Zaurus kernels (openzaurus-pxa and openzaurus-sa) use the new variable - make it clear that the CONFIG_CMDLINE in defconfig-<machine> is irrelevant BKrev: 4121fdaeah1NKmgjtU85X3JWOmq0Mw
Diffstat (limited to 'classes/kernel.oeclass')
-rw-r--r--classes/kernel.oeclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/kernel.oeclass b/classes/kernel.oeclass
index 1eb85f72ca..08462caf07 100644
--- a/classes/kernel.oeclass
+++ b/classes/kernel.oeclass
@@ -14,6 +14,11 @@ KERNEL_LDSUFFIX ?= ""
KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX}"
KERNEL_LD = "${LD}${KERNEL_LDSUFFIX}"
+#
+# configuration
+#
+export CMDLINE_CONSOLE = "console=${@oe.data.getVar("KERNEL_CONSOLE",d,1) or "ttyS0"}"
+
# parse kernel ABI version out of <linux/version.h>
def get_kernelversion(p):
import re