Changeset 2767


Ignore:
Timestamp:
2005-12-25T03:10:14+01:00 (12 years ago)
Author:
wbx
Message:

update to new version, fixes bug #153

Location:
trunk/openwrt/target/linux/package/spca5xx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/linux/package/spca5xx/Makefile

    r2638 r2767  
    55 
    66PKG_NAME:=spca5xx 
    7 PKG_VERSION:=20051105 
     7PKG_VERSION:=20051212 
    88PKG_RELEASE:=1 
    9 PKG_MD5SUM:=7d2e84c3d3880728fefd5644713ba0ca 
     9PKG_MD5SUM:=f8212aa6f5e412201eefd328c3608c8d 
    1010 
    1111PKG_SOURCE_URL:=http://mxhaard.free.fr/spca50x/Download/ 
  • trunk/openwrt/target/linux/package/spca5xx/ipkg/kmod-spca5xx.control

    r2634 r2767  
    22Priority: optional 
    33Section: sys 
     4Depends: kmod-videodev, kmod-usb-core 
    45Description: Kernel driver for SPCA5XX based USB cameras 
  • trunk/openwrt/target/linux/package/spca5xx/patches/01-kmod-build.patch

    r2613 r2767  
    1 diff -ruN spca5xx-20051105-old/Makefile spca5xx-20051105-new/Makefile 
    2 --- spca5xx-20051105-old/Makefile       2005-11-05 19:18:26.000000000 +0100 
    3 +++ spca5xx-20051105-new/Makefile       2005-12-09 10:34:47.000000000 +0100 
     1diff -Nur spca5xx-20051212/Makefile spca5xx-20051212.patched/Makefile 
     2--- spca5xx-20051212/Makefile   2005-12-10 17:05:51.000000000 +0100 
     3+++ spca5xx-20051212.patched/Makefile   2005-12-25 02:41:29.910720750 +0100 
    44@@ -33,7 +33,9 @@ 
    55 DEFINES   += -DCONFIG_USB_SPCA5XX_MODULE=1 -DMODULE -D__KERNEL__ 
     
    1313 ifneq ($(KERNELRELEASE),)   # We were called by kbuild 
    1414 CFLAGS += $(DEFINES)  
    15 @@ -68,158 +70,19 @@ 
     15@@ -68,152 +70,16 @@ 
    1616  
    1717 else   # kernel version test 
     
    2727-# source tree. It makes it easier to swap kernels. 
    2828- 
    29 +EXTRA_CFLAGS += $(DEFINES)  
    30   
     29- 
    3130-KERNEL_VERSION = `uname -r` 
    32 +spca5xx-objs := drivers/usb/spca5xx.o drivers/usb/spcadecoder.o  
    33   
     31- 
    3432-### 
    3533-# Location of the header files (most importantly the config files) 
     
    4543-       DEFINES += -DMODVERSIONS -include $(KERNEL_MODVERSIONSFILE) 
    4644-endif 
    47 +obj-m += spca5xx.o 
    48 +obj-y := $(spca5xx-objs) 
    49   
     45- 
    5046-# Detect SMP support 
    5147-ifneq ($(strip $(shell grep 'define CONFIG_SMP 1' $(KERNEL_ACFILE))),) 
    5248-       DEFINES += -D__SMP__ -DSMP 
    5349-endif 
    54 +O_TARGET := $(obj-m) 
    55   
     50- 
    5651-# Setup the tools 
    5752-CC         = gcc 
     
    7873-             drivers/usb/spcadecoder.c \ 
    7974-             drivers/usb/spcadecoder.h \ 
    80 -             drivers/usb/jpeg_header.h \ 
    81 -            drivers/usb/jpeg_qtables.h \ 
    8275-            drivers/usb/spcagamma.h \ 
    8376-            drivers/usb/spcaCompat.h \ 
     
    169162-drivers/usb/spcadecoder.o: drivers/usb/spcadecoder.h \ 
    170163-                          drivers/usb/spcagamma.h \ 
    171 -                           drivers/usb/jpeg_header.h 
     164-                           
     165+EXTRA_CFLAGS += $(DEFINES)  
     166 
     167+spca5xx-objs := drivers/usb/spca5xx.o drivers/usb/spcadecoder.o  
     168 
     169+obj-m += spca5xx.o 
     170+obj-y := $(spca5xx-objs) 
     171 
     172+O_TARGET := $(obj-m) 
     173 
    172174+-include $(TOPDIR)/Rules.make 
    173175  
    174176 endif  # End kernel version test 
    175177  
    176 - 
    177  ##############################################################################  
    178  # OTHER TARGETS  
    179  ############################################################################## 
Note: See TracChangeset for help on using the changeset viewer.