mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
v4l-dvb: removed backport warning.
This commit is contained in:
@@ -84,7 +84,9 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && make release VER=$(KVER)-$(VERSUFIX)
|
||||
# Remove backported warning...
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/v4l-dvb_remove_backport_warning.patch
|
||||
cd $(DIR_APP) && make release VER=$(KVER)-$(VERSUFIX)
|
||||
cd $(DIR_APP) && make $(MAKETUNING) all
|
||||
cd $(DIR_APP) && make install
|
||||
ln -sf $(DIR_APP)/ /usr/src/v4l-dvb
|
||||
|
||||
12
src/patches/v4l-dvb_remove_backport_warning.patch
Normal file
12
src/patches/v4l-dvb_remove_backport_warning.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur v4l-dvb-abd3aac6644e.org/v4l/compat.h v4l-dvb-abd3aac6644e/v4l/compat.h
|
||||
--- v4l-dvb-abd3aac6644e.org/v4l/compat.h 2010-07-02 05:38:54.000000000 +0200
|
||||
+++ v4l-dvb-abd3aac6644e/v4l/compat.h 2010-12-04 12:19:09.531056981 +0100
|
||||
@@ -14,8 +14,6 @@
|
||||
#define INIT_DELAYED_WORK(a,b,c) INIT_WORK(a,b,c)
|
||||
#endif
|
||||
|
||||
-#define EXPERIMENTAL_TREE
|
||||
-
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
|
||||
#define usb_buffer_alloc(dev, size, mem_flags, dma) usb_alloc_coherent(dev, size, mem_flags, dma)
|
||||
#define usb_buffer_free(dev, size, addr, dma) usb_free_coherent(dev, size, addr, dma)
|
||||
Reference in New Issue
Block a user