Re: adding new driver to kernel src and building rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$ smi2021url=https://raw.githubusercontent.com/jonjonarnearne/smi2021/61b87c5/drivers/media/usb/smi2021

~~~~~~~~

$ wget \
$smi2021url/smi2021.h \
$smi2021url/smi2021_audio.c \
$smi2021url/smi2021_bootloader.c \
$smi2021url/smi2021_main.c \
$smi2021url/smi2021_v4l2.c

~~~~~~~~~

Makefile:
obj-m += smi2021.o

smi2021-y := smi2021_main.o \
smi2021_bootloader.o \
smi2021_v4l2.o \
smi2021_audio.o \

KDIR  := /lib/modules/$(shell uname -r)/build
PWD   := $(shell pwd)

default:
	$(MAKE) -C $(KDIR) M=$(PWD) modules

~~~~~~

$ make
...


poma


Ref.
- linux-media  
  http://dir.gmane.org/gmane.linux.drivers.video-input-infrastructure
- Linux Kernel with the smi2021 v4l2 driver
  https://github.com/jonjonarnearne/smi2021
- easycap-somagic-linux
  https://code.google.com/p/easycap-somagic-linux

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux