Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35433 Details for
Bug 48673
The spca50x package seems obsolete.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to be able to build when `uname -r` doesn't match /usr/src/linux
spca5xx-0.50-uname.patch (text/plain), 1.88 KB, created by
Elan Ruusamäe
on 2004-07-14 16:50:11 UTC
(
hide
)
Description:
patch to be able to build when `uname -r` doesn't match /usr/src/linux
Filename:
MIME Type:
Creator:
Elan Ruusamäe
Created:
2004-07-14 16:50:11 UTC
Size:
1.88 KB
patch
obsolete
>--- /tmp/Makefile 2004-04-13 22:16:23.000000000 +0300 >+++ ./Makefile 2004-07-14 00:19:37.000000000 +0300 >@@ -1,6 +1,7 @@ > VERSION = 0.50 > CVSVERSION = "$Experimental work Michel Xhaard && Reza Jelveh 03/02/2004" > DEFINES = >+KERNEL_VERSION := `uname -r` > > ### > # The following flags enable experimental features. >@@ -45,7 +46,7 @@ > DEFINES += -DCONFIG_USB_SPCA50X_MODULE=1 -DMODULE -D__KERNEL__ > DEFINES += -DVID_HARDWARE_SPCA50X=0xFF -DSPCA50X_VERSION=\"$(VERSION)\" > >-ifneq ($(shell uname -r | cut -d. -f1,2), 2.4) >+ifneq ($(shell echo $(KERNEL_VERSION) | cut -d. -f1,2), 2.4) > > ifneq ($(KERNELRELEASE),) # We were called by kbuild > CFLAGS += $(DEFINES) >@@ -54,7 +55,6 @@ > > else # We were called from command line > >-KERNEL_VERSION = `uname -r` > KERNELDIR := /lib/modules/$(KERNEL_VERSION)/build > PWD := $(shell pwd) > MODULE_INSTALLDIR = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb/media/ >@@ -64,7 +64,7 @@ > @echo ' Building SPCA5XX driver for 2.5/2.6 kernel.' > @echo ' PLEASE IGNORE THE "Overriding SUBDIRS" WARNING' > @echo ' Remember: you must have read/write access to your kernel source tree.' >- $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules >+ $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules KERNEL_VERSION=$(KERNEL_VERSION) > > install: > install -c -m 0644 spca50x.ko $(MODULE_INSTALLDIR) >@@ -89,8 +89,6 @@ > # source tree. It makes it easier to swap kernels. > > >-KERNEL_VERSION = `uname -r` >- > ### > # Location of the header files (most importantly the config files) > # for the kernel you want to build the module against. >@@ -167,8 +165,8 @@ > > install-root: > @echo Installing.. >- @mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb >- @cp spca50x.o /lib/modules/`uname -r`/kernel/drivers/usb/spca50x.o >+ @mkdir -p /lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb >+ @cp spca50x.o /lib/modules/$(KERNEL_VERSION)/kernel/drivers/usb/spca50x.o > @/sbin/depmod > > dist: clean binary
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 48673
:
35432
| 35433 |
35434