Open adhi-thirumala opened 1 month ago
there are backticks around uname-r, but markdown doesn't show it as such.
It looks like you do not have the kbuild toolkit installed, or the makefile does not know how to find it. If you know where you've installed it, can you try to run make KDIR=/path/to/kernel/build/tree
?
thanks it works now
whenever I run make, i get the error
adhitthirumala@fedora:~/framework-laptop-kmod$ make make -C /lib/modules/
uname -r/build M=$PWD modules make[1]: Entering directory '/home/adhitthirumala/framework-laptop-kmod' make[1]: *** /lib/modules/6.8.5-301.fc40.x86_64/build: No such file or directory. Stop. make[1]: Leaving directory '/home/adhitthirumala/framework-laptop-kmod' make: *** [Makefile:12: modules] Error 2 adhitthirumala@fedora:~/framework-laptop-kmod$
How do I fix this? I'm trying to install this so I can use battery health management software.