Mx6 - Kontron Board &
Mx6 SabreLite / Nitrogen6x Board
When I started working with Android for the IMX6 I did the following.
2) build it
Then I started to modify the project for my needs. I created a new repo (git init, git add <files to change>, git checking.. ) in root
However I never ADDED ALL the Android files.. Only the ones I changed..
Now I would like to put the Entire 26G under git..
However I discovered that the android source directory structure is really 100's of git repo under the root. and 100's of .gitignore files.. So when I did a
git add -A
at the root it only added about 1G worth of files.(basically my kernel_imx ). There is a HUGE .gitignore files in root that ignores almost all the android files and directories
So my choices, I've come up with:
1) Delete all the .git repos in subdirectories and modify .gitignore file(s) and do a "git add -A".
Disadvantages here is
- dismantles all the built in Android repos.. (not sure how to use though or important)
- not sure how slow git will be with 26G( Millions of files) under git.
2) figure out how to use the existing git / repo structure.
From browsing around it appears that the "typical " android methodology is to use git/repo to Download Android source but not to "push it" back..
Is there some "best practices" and "how to" checking and manage this large project that someone could point me to? Has someone checked in the entire project locally?