Jump to content

[Armbian build PR] - GH-4421 - Improve logic coding to filter build tasks


Recommended Posts

Posted

Description

This could either be merged into GH-4421 or later into a followup PR.

I personally would like it to get it merged already now, since it simplifies the coding and the maintainability in future.

The changes are pretty obvious.

  • build-tasks.sh:
    • added functions:
      • build_task_is_enabled()
      • build_task_one_of_is_enabled()
      • build_task_each_of_is_enabled()
    • updated existing build task filter logic to use function build_task_is_enabled
  • config-prepare.sh, prepare-host.sh:
    • replaced existing build task filter logic to use function build_task_is_enabled

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines