dentproject / dentOS

dentOS SwitchDev based NOS
Other
200 stars 59 forks source link

Initial support for kernel 5.15 via git clone #159

Closed snobleaws closed 2 years ago

snobleaws commented 2 years ago

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

sonoble commented 2 years ago

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.