blob: 8253f3ea3ad99630a8a389b57e6ba66184daced2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- driver/linux/Makefile
+++ driver/linux/Makefile
@@ -98,7 +98,7 @@ $(NAME).ko: *.c *.h
sed -i 's/#define VENDOR_ID1 [^\n]*/#define VENDOR_ID1 0x$(VENDOR_ID1)/g' $(DRVR_HDR)
sed -i 's/#define DEBUG [^\n]*/#define DBUG 1/g' $(DRVR_HDR)
sed -i 's/#define DBUG [^\n]*/#define $(DBUGVAL) 1/g' $(DRVR_HDR)
- make -C $(KDIR) SUBDIRS=`pwd` modules
+ make -C $(KDIR) M=`pwd` modules
rm -rf $(LIB_OBJS)
$(NAME).so.$(LIB_VER): $(LIB_OBJS)
|