Mercurial > pt1.oyama
annotate driver/Makefile @ 19:5cd8212bea78
added install rule
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 25 Feb 2009 19:36:17 +0900 |
parents | 07b2fc07ff48 |
children | 65c8ac567074 |
rev | line source |
---|---|
0 | 1 # |
2 | |
3 TARGET:= pt1_drv.ko | |
4 | |
5 all: ${TARGET} | |
6 | |
7 pt1_drv.ko: pt1_pci.c pt1_i2c.c pt1_tuner.c pt1_tuner_data.c | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
8 make -C /lib/modules/`uname -r`/build M=`pwd` V=1 modules |
0 | 9 |
10 clean: | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
11 make -C /lib/modules/`uname -r`/build M=`pwd` V=1 clean |
0 | 12 |
13 obj-m:= pt1_drv.o | |
14 | |
15 pt1_drv-objs := pt1_pci.o pt1_i2c.o pt1_tuner.o pt1_tuner_data.o | |
16 | |
17 clean-files := *.o *.ko *.mod.[co] *~ | |
19 | 18 |
19 install: $(TARGET) | |
20 install -m 644 $(TARGET) /lib/modules/`uname -r`/kernel/drivers/video |