diff options
author | Gary Thomas <gary@mlbassoc.com> | 2013-12-17 09:59:51 -0700 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2014-01-03 23:07:46 +0200 |
commit | 7bea82b2b84c18193f5303a3b3fd4c20fceb2a92 (patch) | |
tree | 5bb1162f3d6502041b413594fcd394c7993f4200 | |
parent | 9cd9f42fa154552bae821901d49a41f19ece3e9e (diff) | |
download | meta-raspberrypi-7bea82b2b84c18193f5303a3b3fd4c20fceb2a92.tar.gz |
rpi-config: Add video camera control
Add video camera enable 'VIDEO_CAMERA' for config.txt
Change-Id: I547004eebfba204ba683365bbdbad143f2cdfe6e
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Acked-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r-- | recipes-bcm/bootfiles/rpi-config_git.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bcm/bootfiles/rpi-config_git.bb b/recipes-bcm/bootfiles/rpi-config_git.bb index 4328070..66a8fa8 100644 --- a/recipes-bcm/bootfiles/rpi-config_git.bb +++ b/recipes-bcm/bootfiles/rpi-config_git.bb | |||
@@ -52,6 +52,12 @@ do_deploy() { | |||
52 | if [ -n "${GPU_MEM_512}" ]; then | 52 | if [ -n "${GPU_MEM_512}" ]; then |
53 | sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | 53 | sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt |
54 | fi | 54 | fi |
55 | |||
56 | # Video camera support | ||
57 | if [ -n "${VIDEO_CAMERA}" ]; then | ||
58 | echo "# Enable video camera" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | ||
59 | echo "start_x=1" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt | ||
60 | fi | ||
55 | } | 61 | } |
56 | 62 | ||
57 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 63 | PACKAGE_ARCH = "${MACHINE_ARCH}" |