]> git.pld-linux.org Git - packages/bttv.git/blame - bttv-Makefile.patch
- Updated to 0.7.56.
[packages/bttv.git] / bttv-Makefile.patch
CommitLineData
d033880b 1diff -urN bttv-0.7.50.orig/driver/Makefile bttv-0.7.50/driver/Makefile
2--- bttv-0.7.50.orig/driver/Makefile Sat Dec 2 11:50:50 2000
3+++ bttv-0.7.50/driver/Makefile Mon Dec 11 19:34:06 2000
4@@ -2,9 +2,9 @@
5 # config
6
7 # where the kernel sources are located
8-RUNNING := /usr/src/kernel/$(shell uname -r)
9-KERNEL_DIR := $(shell if test -d $(RUNNING); then echo $(RUNNING); else echo /usr/src/linux; fi)
10-#KERNEL_DIR := /usr/src/linux
11+#RUNNING := /usr/src/kernel/$(shell uname -r)
12+#KERNEL_DIR := $(shell if test -d $(RUNNING); then echo $(RUNNING); else echo /usr/src/linux; fi)
13+KERNEL_DIR := /usr/src/linux
14
15 # kernel version
16 CURRENT := $(shell grep "UTS_RELEASE" $(KERNEL_DIR)/include/linux/version.h | cut -d\" -f2)
17@@ -17,9 +17,7 @@
18 KCOMPAT := kcompat24.o
19 endif
20
21-MODULE_DIR := $(shell test -d "/lib/modules/$(CURRENT)/kernel" && \
22- echo "/lib/modules/$(CURRENT)/kernel/drivers/media/video" ||\
23- echo "/lib/modules/$(CURRENT)/misc")
24+MODULE_DIR := $(DESTDIR)/lib/modules/$(CURRENT)/misc
25
26
27 #################################################
28@@ -54,8 +52,8 @@
29 @grep "{ \"" tuner.c | perl -ne '/"([^"]+)"/;printf(" type=%d - %s\n",$$i++,$$1)'
30
31 install:
32- su -c "mkdir -p $(MODULE_DIR); cp -v $(M_OBJS) $(MX_OBJS) $(MI_OBJS) $(MODULE_DIR)"
33-
34+ mkdir -p $(MODULE_DIR)
35+ cp -v $(M_OBJS) $(MX_OBJS) $(MI_OBJS) $(MODULE_DIR)
36 clean:
37 -rm -f *.o .*.o.flags *~
38
This page took 0.089987 seconds and 4 git commands to generate.