Don't (re)define ACTUALLY_LKM_NOT_KERNEL. It wasn't even used by the
joy driver proper. Don't add -I/sys to CFLAGS. bsd.kmod.mk adds the correct (relative) path.
This commit is contained in:
parent
fb2604799e
commit
a7d87a6714
@ -3,7 +3,7 @@ KMOD = joy_mod
|
||||
SRCS = joy.c joy.h
|
||||
MAN8 = joy.8
|
||||
|
||||
CFLAGS += -I. -I/sys -DJOY_MODULE -DACTUALLY_LKM_NOT_KERNEL
|
||||
CFLAGS += -I. -DJOY_MODULE
|
||||
CLEANFILES += joy.h
|
||||
|
||||
joy.h:
|
||||
|
@ -3,7 +3,7 @@ KMOD = joy_mod
|
||||
SRCS = joy.c joy.h
|
||||
MAN8 = joy.8
|
||||
|
||||
CFLAGS += -I. -I/sys -DJOY_MODULE -DACTUALLY_LKM_NOT_KERNEL
|
||||
CFLAGS += -I. -DJOY_MODULE
|
||||
CLEANFILES += joy.h
|
||||
|
||||
joy.h:
|
||||
|
Loading…
Reference in New Issue
Block a user