Skip to content

Commit

Permalink
fix DKMS builds
Browse files Browse the repository at this point in the history
DKMS sets KERNELRELEASE even for out-of-tree build, confusing typical
module Makefiles.  Check for PATCHLEVEL instead to detect Kbuild system.
  • Loading branch information
djpohly committed May 31, 2016
1 parent 925c744 commit c270904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ifneq ($(KERNELRELEASE),)
ifneq ($(PATCHLEVEL),)

# Kbuild configuration
obj-m := piuio.o
Expand Down

0 comments on commit c270904

Please sign in to comment.