Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (note: you probably want the repository for the -ti kernel series)
- 13:30:22 < zmatt> https://github.com/RobertCNelson/bb-kernel for the -bone kernel series, https://github.com/RobertCNelson/ti-linux-kernel-dev/ for the -ti kernel series
- 13:30:35 < zmatt> select branch for the exact series desired
- 13:30:52 < zmatt> copy system.sh.sample to system.sh and tweak contents to taste
- 13:31:57 < zmatt> then run ./build_deb.sh to build a debian package
- 13:32:14 < zmatt> it'll give you an opportunity to tweak the kernel config (by running make menuconfig)
- 13:31:14 < lyb> bb-kernel is empty nowadays
- 13:31:22 < zmatt> no it's not, you just didn't pick a branch
- 13:56:14 < zmatt> tip: you may want to append a line to version.sh in the build repo to give your custom kernel a suffix that distinguishes it from the normal one, e.g.: BUILD+=-custom1
- (about modifying the kernel)
- 13:36:12 < zmatt> yeah in that case just first build an unmodified kernel, then make changes in the KERNEL subdirectory it creates (the patched kernel tree) and run tools/rebuild_deb.sh
- 13:36:26 < zmatt> don't run ./build_deb.sh again since that will recreate a clean tree
- (note: same if you just want to rebuild the package with changes to the kernel config)
- (how to add your patches to the repo itself so they are applied when doing a clean rebuild)
- 21:24:54 < __jojo__> Would it allow me to apply my patch on the top ?
- 21:26:43 < zmatt> yes, what I do is I create a directory patches/local with my custom patches, and add the following line to patch.sh: dir 'local'
- (note: the build script will already preserve any kernel config changes you make by updating patches/defconfig for you)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement