- Docker
Enter the build environment by running
./run-container.sh
You have to run make from within the container because
the ccache path is hardcoded as /work/cache in buildroot-external/configs/pspl_cms_pi4_defconfig
To build the image, run (in the container)
make config
make -j$(nproc)
├── buildroot-external
│ ├── board
│ │ └── raspberrypi
│ │ └── linux.config # linux defconfig
│ ├── Config.in # unimportant
│ ├── configs
│ │ └── pspl_cms_pi4_defconfig # buildroot defconfig
│ ├── external.desc # unimportant
│ ├── external.mk # unimportant
│ └── package
│ └── pspl-cms-init # custom init script
├── Dockerfile # dev container
├── Makefile # buildroot shortcuts
├── README.md
└── run-container.sh # build & run dev container