Hi I was trying to install this kernel patch HP p410i.
On following this guide I was able to patch my ubuntu server.
First step would be modifying the providedMakefile to adapt to the linux kernel source path KDIR to Ubuntu 18.04 LTS, which is `/lib/modules/$(KRELEASE)/build`
I just wanted help in modifying this Makefile to Debian
obj-m := hpsa.o
KRELEASE := $(shell uname -r)
KRELEASE := $(KERNELRELEASE)
# KDIR := /usr/lib/modules/$(KRELEASE)/build
KDIR := /lib/modules/$(KRELEASE)/build
PWD := $(shell pwd)
$(MAKE) -C $(KDIR) M=$(PWD) modules
$(MAKE) -C $(KDIR) M=$(PWD) clean
Please help with this file for Debian Linux kernel 5.4