Artushak

helloworlddriver/Makefile

Oct 7th, 2020
2,284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.19 KB | None | 0 0
  1. #!/bin/env make -f
  2.  
  3. ifneq ($(KERNELRELEASE),)
  4.     obj-m := src/hello.o
  5. else
  6.     KDIR ?= /mnt/qemu/LinuxKernel/linux-5.8.13
  7.     CONCURRENCY ?= 8
  8. all:
  9.     $(MAKE) -j$(CONCURRENCY) -C $(KDIR) M=$$PWD
  10. endif
Add Comment
Please, Sign In to add comment