hi Robert and all,
By tracing build_kernel.sh, I see the following (summarized) processes (not url correct due to limitation for new user)
git clone …/kernel/git/torvalds/linux.git /home/qws/myGithub/Panda-Repo/armv7-multiplatform/ignore/linux-src
git clone --shared /home/qws/myGithub/Panda-Repo/armv7-multiplatform/ignore/linux-src /home/qws/myGithub/Panda-Repo/armv7-multiplatform/KERNEL
git tag | grep “v4.10.17” | grep -v rc > /dev/null 2>&1 || git_kernel_torvalds
The following is resulted of git_kernel_torvalds function being executed, as the former command failed
git pull --no-edit …/linux/kernel/git/torvalds/linux.git master --tags
git tag | grep “v4.10.17” | grep -v rc > /dev/null 2>&1 || git_kernel_stable
The following is resulted of git_kernel_stable function being execuated, as the former command failed
git fetch …/linux/kernel/git/stable/linux-stable.git master --tags
From what I gathered about Trevolds repo and the linux_stable, I came to conclusion that:
- Trevolds repo has all the cutting edge source of various new boards, while linux_stable repo has none of those except the stable (generic) kernel.
- Hence, the solution is to get the source of Trevolds and later add/merge the source from linux_stable.
Is it right? Appreciate if you could elaborate please.