Skip to content

Adding condition to check and use PVR_USE_SRC_BSP based on USE_SRC_BSP variable

Gaurav Pathak requested to merge src-bsp-flag into master
  • Added PVR_USE_SRC_BSP=$USE_SRC_BSP with appropriate condition check.
  • Some devices needs to build BSP for e.g. beagle bone black and this requires to use PVR_USE_SRC_BSP="yes" with build.docker.sh.
  • The devices that needs to build BSP from source in their CI pipeline job needs to add USE_SRC_BSP: "yes" variable in their .gitlab-ci.yml for e.g. for beagle bone black the .gitlab-ci.yml should be similar to:
include:
  project: 'pantacor/ci/device-ci'
  ref: 5795d37edfe4b0d25a4f3a39193b813bff8e52ed
  file: '/yml/pvdeps-ci.yml'

variables:
  PH_PREMERGE_DISABLE_DEFAULTS: "yes"

build-bbb:
  extends: .build-tarball
  variables:
    PLATFORM: "bbb"
    TARGET: "arm-bbb"
    USE_SRC_BSP: "yes"

pvdeps-ci.yml then will pick the value and use it appropriately.

Edited by Gaurav Pathak

Merge request reports