diff options
| -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}" |
