Skip to content

Commit

Permalink
Fixed Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: yeaseb <[email protected]>
  • Loading branch information
YeaSeb committed Apr 6, 2022
1 parent 6f916d0 commit ad5598f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
obj-m += wmo_oc.c
ccflags-y := -std=gnu99 -Wno-declaration-after-statement
obj-m += wmo_oc.o
ccflags-y := -std=gnu99
KERNEL_SOURCE_DIR := /lib/modules/$(shell uname -r)/build

all:
make -C "$(KERNEL_SOURCE_DIR)" M="$(PWD)" modules
make -C $(KERNEL_SOURCE_DIR) M=$(PWD) modules

clean:
make -C "$(KERNEL_SOURCE_DIR)" M="$(PWD)" clean
make -C $(KERNEL_SOURCE_DIR) M=$(PWD) clean

0 comments on commit ad5598f

Please sign in to comment.