aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Revest <revestflo@gmail.com>2015-07-28 09:38:09 +0200
committerRomain Perier <romain.perier@gmail.com>2015-07-30 15:10:51 +0200
commit23cf07b739729b4fc8af9811f401058181c58b58 (patch)
tree7e0150006032285c4d5e2a9e7ea0aed477ba5e60
parent14ccfc2cd81839f432a3a6b4d9a8d5ad9e8e0225 (diff)
downloadmeta-rockchip-23cf07b739729b4fc8af9811f401058181c58b58.tar.gz
meta-rockchip-23cf07b739729b4fc8af9811f401058181c58b58.tar.bz2
meta-rockchip-23cf07b739729b4fc8af9811f401058181c58b58.zip
conf/machine: Makes SERIAL_CONSOLES overridable
That's very important to be able to redefine some variables for the need of custom kernels. As on rockchip-based devices the serial interface might change from a kernel to another, makes it overridable using '?='. Signed-off-by: Florent Revest <revestflo@gmail.com> Reviewed-by: Romain Perier <romain.perier@gmail.com>
-rw-r--r--conf/machine/include/rockchip.inc2
-rw-r--r--conf/machine/rk3188-radxarock.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/machine/include/rockchip.inc b/conf/machine/include/rockchip.inc
index 9d1e0cf..de3fea7 100644
--- a/conf/machine/include/rockchip.inc
+++ b/conf/machine/include/rockchip.inc
@@ -19,5 +19,5 @@ KERNEL_IMAGETYPE = "zImage"
IMAGE_CLASSES += "rockchip-update-img"
IMAGE_FSTYPES += "ext4 rockchip-update-img"
-SERIAL_CONSOLES = "115200;ttyFIQ0"
+SERIAL_CONSOLES ?= "115200;ttyFIQ0"
diff --git a/conf/machine/rk3188-radxarock.conf b/conf/machine/rk3188-radxarock.conf
index dd0b892..7b2032b 100644
--- a/conf/machine/rk3188-radxarock.conf
+++ b/conf/machine/rk3188-radxarock.conf
@@ -10,5 +10,5 @@
require conf/machine/include/rockchip.inc
PREFERRED_PROVIDER_virtual/kernel = "linux"
-SERIAL_CONSOLES = "115200;ttyS2"
+SERIAL_CONSOLES ?= "115200;ttyS2"
KERNEL_DEVICETREE = "rk3188-radxarock.dtb"