Recently I'm switching company's OS development from buildroot to openwrt framework. In the past, I just writing a buildroot package, which *_SITE_METHOD is git, and every time, the buildroot just download the .tgz from GitHub.
When switching to openwrt, there are such many features from Buildroot not getting supported, like locally debugging from git package. That says we could not modify the source code under build directory.
Then I have to figure out a way to make the locally debug easy. Now I will show you how the Android repo works with any Git/GitHub repository.
Open your local manifest of repo, and add a remote tag like this:
Now, you could run repo sync to download the source code from GitHub. The advantage than the buildroot/openwrt remote package is the free modification of the source code by yourself, and perfect workflow lets any Git/GitHub repository works with Repo if you set correctly permissions.
Recently I'm switching company's OS development from buildroot to openwrt framework. In the past, I just writing a buildroot package, which
*_SITE_METHOD
isgit
, and every time, the buildroot just download the.tgz
from GitHub.When switching to openwrt, there are such many features from Buildroot not getting supported, like locally debugging from git package. That says we could not modify the source code under build directory.
Then I have to figure out a way to make the locally debug easy. Now I will show you how the Android repo works with any Git/GitHub repository.
Open your local manifest of repo, and add a remote tag like this:
Then add a
project
:Now, you could run
repo sync
to download the source code from GitHub. The advantage than the buildroot/openwrt remote package is the free modification of the source code by yourself, and perfect workflow lets any Git/GitHub repository works with Repo if you set correctly permissions.