mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 06:15:31 +00:00
27 lines
445 B
Makefile
27 lines
445 B
Makefile
#Kernel module makes here
|
|
PWD := $(CURDIR)
|
|
|
|
override CC := $(OCC)
|
|
override LD := $(OLD)
|
|
override CFLAGS :=
|
|
override LDFLAGS :=
|
|
|
|
export CC LD CFLAGS LDFLAGS
|
|
|
|
.PHONY: kmake kload kunload kreload kclean
|
|
kmake:
|
|
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
|
|
|
kload:
|
|
insmod youtubeKUnblock.ko
|
|
|
|
kunload:
|
|
-rmmod youtubeKUnblock
|
|
|
|
kreload: kunload kload
|
|
|
|
kclean:
|
|
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
|
|
|
|
|