annotate driver/Makefile @ 39:b03685d25fee

recpt1 now shows error explanation when write() fails.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 17 Apr 2009 22:52:35 +0900 (2009-04-17)
parents 65c8ac567074
children 05424917a022
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
1 TARGET:= pt1_drv.ko
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
2
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
3 all: ${TARGET}
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
4
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
5 pt1_drv.ko: pt1_pci.c pt1_i2c.c pt1_tuner.c pt1_tuner_data.c
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
6 make -C /lib/modules/`uname -r`/build M=`pwd` V=1 modules
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
7
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
8 clean:
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
9 make -C /lib/modules/`uname -r`/build M=`pwd` V=1 clean
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
10
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
11 obj-m:= pt1_drv.o
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
12
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
13 pt1_drv-objs := pt1_pci.o pt1_i2c.o pt1_tuner.o pt1_tuner_data.o
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
14
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
15 clean-files := *.o *.ko *.mod.[co] *~
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
16
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
17 install: $(TARGET)
65c8ac567074 cleaning up:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 19
diff changeset
18 install -m 644 $(TARGET) /lib/modules/`uname -r`/kernel/drivers/video