Advertisement
dark-Matter

mf

Mar 21st, 2021
803
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. obj-m = hello.o
  2.  
  3. CFLAGS_hello.o := -DDEBUG
  4.  
  5. KDIR ?= /usr/src/linux-headers-$(shell uname -r)
  6.  
  7. all:
  8.     $(MAKE) -C $(KDIR) M=$(shell pwd) modules
  9.  
  10. clean:
  11.     $(MAKE) -C $(KDIR) M=$(PWD) clean
Advertisement
RAW Paste Data Copied
Advertisement