Feature #1217
open
Utilize latest features of Buildroot
Added by Hammel about 1 month ago.
Updated 1 day ago.
Category:
00 - Basic Build Issues
- Related to Feature #1100: Update lightsw registration to match new imrest requirements. added
- Related to deleted (Feature #1100: Update lightsw registration to match new imrest requirements.)
- Related to Action Item #775: Check if migration to Buildroot recommended customizations is warranted added
- Severity changed from 03 - Medium to 01 - Critical
- Description updated (diff)
-show-info is implemented and working.
The other new targets have problems:
$ make buildroot-graph-depends
ERROR: The 'dot' program from Graphviz is needed for graph-depends
make[1]: *** [Makefile:881: graph-depends-requirements] Error 1
make: *** [configs/buildroot.mk:258: buildroot-graph-depends] Error 2
$ make buildroot-graph-size
/bin/bash: line 1: mkdir: No such file or directory
make[1]: *** [Makefile:896: graph-size] Error 127
make: *** [configs/buildroot.mk:265: buildroot-graph-size] Error 2
$ make buildroot-pkg-stats
/usr/bin/env: 'python3': No such file or directory
make[1]: *** [Makefile:925: pkg-stats] Error 127
make: *** [configs/buildroot.mk:258: buildroot-pkg-stats] Error 2
It appears these won't work with the version of Buildroot in use currently. I'll probably need to bump the Buildroot version. There are targets in place that are disabled for these features until that is done.
- Description updated (diff)
- Status changed from New to In Progress
- % Done changed from 0 to 10
To use custom skeleton overlays:
- Disable System->RootFS Skeleton
- Remove configuration for System->custom target skeleton path
- Add package/customize/skeleton as a path to System->Root filesystem overlay directories
- Update buildroot.mk
- -rebuild target deletes and recopies skeleton directory (no need to clean up target anymore)
- Update -preconfig-customize
- Update -preconfig to remove kernel modules (they will be installed as an overlay lowerdir instead)
- Update -preconfig to remove gles (they will be installed as an overlay lowerdir instead)
- Generate kernel modules as squashfs for use in overlay
- Generate gles as squashfs for use in overlay
- Generate RPI Tools as either
- built by Buildroot, if possible
- built as a squashfs image
- Update Busybox init script to mount kernel modules and gles squashfs files and add them to overlay.
- Add RPI Tools squashfs, if used.
- Check if CUSTOMSRC is still needed in post-build.sh
- Add kernel modules, gles and (maybe) RPI Tools squashfs to install script.
Building out of tree
O=$(BUILDROOT_BLDDIR)
will require changing all
$(BUILDROOT_SRCDIR)/output
to
$(BUILDROOT_BLDDIR)/output
Also available in: Atom
PDF