OSDN Git Service
(root)
/
scilog
/
spike-ad.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove debug printk()
[scilog/spike-ad.git]
/
Makefile
1
DRIVER = spike-ad
2
3
ifneq ($(KERNELRELEASE),)
4
obj-m := $(DRIVER).o
5
else
6
PWD := $(shell pwd)
7
8
default:
9
ifeq ($(strip $(KERNELDIR)),)
10
$(error "KERNELDIR is undefined!")
11
else
12
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
13
endif
14
15
16
clean:
17
rm -rf *~ *.ko *.o *.mod.c modules.order Module.symvers .$(DRIVER)* .tmp_versions
18
19
endif
20