I deal with the same problem while working with the git submodules and buildroot br-external functions.
In this sense, you only need to start an empty repository and import release buildroot as its submodule.
mkdir myrepo; cd myrepo git init touch README; git add README; git commit -m "Initial commit" git submodule add -b <preferred release/tag/branch> git://git.buildroot.net/buildroot git submodule update --init
You can then create the br-external directory and fill it in the same way as buildroot your own package directories / configs / board, as described in the BR2_EXTERNAL documentation 1 .
mkdir br-external
After that, you just need to run steproot defconfig, passing the absolute path to your br-external directory, for example.
make BR2_EXTERNAL=$PWD/br-external -C buildroot <boardname>_defconfig
Your BR2_EXTERNAL locations are cached for subsequent calls.
The best part is that you only need to update what inside br-external and buildroot creates the configuration menu so that all your user materials are correctly separated (menu item "User Preferences").
In addition, if you decide to break the buildroot release into a newer one, the only problem is updating the submodule and fixing it. Ideal for configuration management.
cd buildroot git pull origin latest-release cd .. git add buildroot git commit -m 'buildroot latest-release upgrade'
milton
source share