On Tue, Jul 23, 2024 at 10:33 AM Masaru Nomiya <nomiya@lake.dti.ne.jp> wrote:
As you can see, in my case, I can build with no problem with these;
*** Path to kernel sources=/lib/modules/6.9.9-1-default/build
I just came across that as well. I was getting frustrated and so I decided to build it in OBS, and I see that is where it points to.
and make -C /lib/modules/6.9.9-1-default/build .....
I understand that sources=/usr/src/linux and make -C /usr/src/linux don't build, but I don't understand why this is the case.
Seems openSUSE/SUSE have moved things into a build subdirectory: ll /lib/modules/6.4.0-150600.23.14-default/ total 8 lrwxrwxrwx 1 root root 52 Jul 7 21:13 build -> /usr/src/linux-6.4.0-150600.23.14-obj/x86_64/default lrwxrwxrwx 1 root root 33 Jul 7 21:13 source -> /usr/src/linux-6.4.0-150600.23.14 So one source tree for all builds targets, and a symlink in /lib/modules for the one of interest.. Makes sense. I guess this is all documented somewhere... -- Roger Oberholtzer