-
Notifications
You must be signed in to change notification settings - Fork 2
A Kconfig based generator utility that shows how to reuse CROPS for your own purposes.
License
crops/crops-generator
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Β | Β | |||
Repository files navigation
crops-generator --------------- crops-generator is a Kconfig and python3 Kconfiglib tool to make building off of CROPS easier. Because it's Kconfig based, extending it is trivial. How to use ----------- # Create a .config kconfig-mconf ./Kconfig # Generate the Dockerfile ./crops_generator.py --kconf .config --docker <containercontext> DOCKER_BUILDKIT=1 docker build -t mycrops/<containercontext> <containercontext> docker run -it -v /home/$USER/workspace:/workspace -u 1000:1000 --entrypoint=/bin/bash mycrops/<containercontext> Directories ----------- βββ build - KConfig specific to yoctoproject build βΒ Β βββ repo - KConfig specific to build setup βΒ Β βββ tc - KConfig specific to external toolchains βββ config - config directory βΒ Β βββ entrypoints NN_<filename>.<ext> of entrypoints. βΒ Β βββ envs - envs.<osname>-<osversion> Dockerfile fragments to add ENV to Dockerfile βΒ Β βββ pkgs - packages.<osname>-<osversion> Dockerfile fragments to modify what is installed in container βΒ Β βββ repo - Dockerfile fragments for including buildsystem βΒ Β βββ tc - toolchain.docker Dockerfile fragments for including external toolchain βββ container - KConfig to override things like Registry URI/namespace for crops containers βββ lib - crops libraries βββ os - KConfig for base host OS βββ prepackaged_configs - Eventually for example .configs TODO ---- - Add some good external-tc examples - Add explaination on why we don't mod local.conf (USE TEMPLATES!!!) - Better docs
About
A Kconfig based generator utility that shows how to reuse CROPS for your own purposes.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published