PTXdist 2018.05.0 Build System for Embedded Linux Systems ptxdist <action [args]> [options] Setup and Project Actions: menu enter main control menu setup setup per-user preferences boardsetup setup per-board preferences projects show available projects clone <from> <to> create a new project, cloned from <from>. nconfig menuconfig configure the project's filesystem menuconfig kernel kernelconfig configure the kernel menuconfig platform platformconfig configure the platform menuconfig collection configure the collection ...
To configure the system (e.g. add additional packages) you can start the PTXdist menu:
$ ptxdist menu
Dependencies between packages should be automagically resolved. Software is organized in sections.
First of all you need to choose for which platform you want to build and which userland configuration should be used.
The commands in the following sections have to be executed within the BSP root directory.
The BSP provides helper scripts for automatic configuration according to the following table:
Platform | Configuration | Command |
---|---|---|
MBa6x | linux/mainline ¦ systemd init ¦ Qt5 | tools/config-mba6x |
linux/mainline ¦ busybox init | tools/config-mba6x.tiny |
Example:
$ tools/config-mba6x
This will effectively do
./p
→ /usr/local/bin/ptxdist-<version>
)./p platform configs/platform-tq-tqma6x[-fsl]/mba6x/platformconfig
./p select configs/<ptxconfig>
For manual configuration please refer to ./p –help
and use the platformconfig
and ptxconfig.*
files listed in the table above.
Example:
$ ptxdist platform configs/platform-tq-tqma6x/mba6x/platformconfig $ ptxdist select configs/platform-tq-tqma6x/ptxconfig.qt5
Finally, to build the BSP and create the image files simply execute
$ ./p images
or (in case of a manual configuration)
$ ptxdist images
PTXdist downloads some packages. If it reports some errors please
$ ptxdist get