Add support for Linux kernels from git to kbuild.mk
Clone https://github.com/dentproject/linux 5.15.y dent specific branch into build
Build for NXP rdb
Tested on NXP ls1043ardb
root@localhost:~# cat /etc/onl/platform
arm64-nxp-ls1043ardb-r0
root@localhost:~# uname -a
Linux localhost 5.15.11-g498d93b3aea9-dirty #1 SMP PREEMPT Sun Jan 23 23:43:15 UTC 2022 aarch64 GNU/Linux
Signed-off-by: Steve Noble snoble@sonn.com
I am interested in feedback on the implementation. It could use more error checking (did you define the branch) or just default to the main branch. I may also be missing some nuances of makefiles.
Add support for Linux kernels from git to kbuild.mk Clone https://github.com/dentproject/linux 5.15.y dent specific branch into build Build for NXP rdb Tested on NXP ls1043ardb root@localhost:~# cat /etc/onl/platform arm64-nxp-ls1043ardb-r0 root@localhost:~# uname -a Linux localhost 5.15.11-g498d93b3aea9-dirty #1 SMP PREEMPT Sun Jan 23 23:43:15 UTC 2022 aarch64 GNU/Linux Signed-off-by: Steve Noble snoble@sonn.com