The parameters and commands used for building the .pac file are hardcoded in the script. We should at least organize board specific code to a single file that can be ported to other boards if needed.
We can also check for board identification methods. This needs some more research.