summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2012-09-22 15:02:37 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2012-10-17 16:43:34 +0300
commit0a181df8c5241a6fed941d8448633b51ac5b6ee2 (patch)
tree068c28c0f3cf13df83eed6ecb3b3119e8b38b68d
parentaaeb90959f04b2fd5f4d0bcdae5e921f1f5a1f20 (diff)
downloadmeta-raspberrypi-0a181df8c5241a6fed941d8448633b51ac5b6ee2.tar.gz
rpi-config: Add variable for overscan configuration.
Add a DISABLE_OVERSCAN variable that can be used in local.conf to overwrite the overscan default setting. Signed-off-by: Julian Scheel <julian@jusst.de>
-rw-r--r--recipes-bcm/bootfiles/rpi-config_0.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bcm/bootfiles/rpi-config_0.1.bb b/recipes-bcm/bootfiles/rpi-config_0.1.bb
index aff1e5d..28b6f19 100644
--- a/recipes-bcm/bootfiles/rpi-config_0.1.bb
+++ b/recipes-bcm/bootfiles/rpi-config_0.1.bb
@@ -26,6 +26,9 @@ do_deploy() {
26 if [ -n "${KEY_DECODE_WVC1}" ]; then 26 if [ -n "${KEY_DECODE_WVC1}" ]; then
27 sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt 27 sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
28 fi 28 fi
29 if [ -n "${DISABLE_OVERSCAN}" ]; then
30 sed -i '/#disable_overscan/ c\disable_overscan=${DISABLE_OVERSCAN}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt
31 fi
29} 32}
30 33
31PACKAGE_ARCH = "${MACHINE_ARCH}" 34PACKAGE_ARCH = "${MACHINE_ARCH}"