function check capability
- check_capability <variable>
This routine checks that a board and distribution have a certain "capability".
The capability is defined as a variable prefixed with "CAP_".
If the indicated capability variable is set, nothing happens.
If the variable is not set, then the job is aborted.
Here are some sample invocations:
This would check for the presence of $CAP_RENESAS, and check that its
value is non-empty.
This routine specifically checks whether $CAP_<variable> is non-zero.
Returns non-zero and aborts the job if the CAP_<variable> is not defined.
Located in scripts/functions.sh