| 1 |
# null backend
|
| 2 |
|
| 3 |
pp_platforms="$pp_platforms null"
|
| 4 |
|
| 5 |
#@ pp_backend_null_detect(uname_s): return true if matches uname on null
|
| 6 |
pp_backend_null_detect () {
|
| 7 |
! :
|
| 8 |
}
|
| 9 |
|
| 10 |
#@ pp_backend_null_init(): initialises platform variables for null
|
| 11 |
pp_backend_null_init () {
|
| 12 |
:
|
| 13 |
}
|
| 14 |
|
| 15 |
|
| 16 |
#@ pp_backend_null(): processes output files to generate a package files
|
| 17 |
pp_backend_null () {
|
| 18 |
:
|
| 19 |
}
|
| 20 |
|
| 21 |
#@ pp_backend_null_cleanup(): removes any files created outside $pp_wrkdir
|
| 22 |
pp_backend_null_cleanup () {
|
| 23 |
:
|
| 24 |
}
|
| 25 |
|
| 26 |
#@ pp_backend_null_names(): prints the paths to package files
|
| 27 |
# each path should start with $name-$version
|
| 28 |
# the package must be relative to the $pp_wrkdir directory
|
| 29 |
pp_backend_null_names () {
|
| 30 |
:
|
| 31 |
}
|
| 32 |
|
| 33 |
#@ pp_backend_null_install_script(component): generate helper install script
|
| 34 |
pp_backend_null_install_script () {
|
| 35 |
:
|
| 36 |
}
|
| 37 |
|
| 38 |
#@ pp_backend_null_function(func): output one platform-dependent function
|
| 39 |
pp_backend_null_function () {
|
| 40 |
echo false
|
| 41 |
}
|
| 42 |
|
| 43 |
#@ pp_backend_null_init_svc_vars(): initialise service vars
|
| 44 |
pp_backend_null_init_svc_vars () {
|
| 45 |
:
|
| 46 |
}
|
| 47 |
|
| 48 |
#@ pp_backend_null_probe(): output local platform's short name
|
| 49 |
pp_backend_null_probe () {
|
| 50 |
echo unknown-unknown
|
| 51 |
}
|
| 52 |
|
| 53 |
#@ pp_backend_null_vas_platforms(): output vas platforms that will run here
|
| 54 |
pp_backend_null_vas_platforms () {
|
| 55 |
:
|
| 56 |
}
|