File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ rpm: tarball
3535 ./package/rpm/configure --version --prefix=$(IPATH )
3636 cp pda-` cat VERSION` .tar.gz package/rpm/
3737 make -C package/rpm/
38- cp ${HOME} /rpmbuild/RPMS/x86_64/pda-* .rpm .
38+ make -C patches/linux_uio
39+ cp ${HOME} /rpmbuild/RPMS/x86_64/pda* .rpm .
3940
4041tarball : mrproper
4142 rm -rf pda-` cat VERSION` .tar.gz
Original file line number Diff line number Diff line change 2727rm -rf $RPM_BUILD_ROOT
2828make install DESTDIR=$RPM_BUILD_ROOT/%{inst_prefix}/
2929
30+ %post
31+ /sbin/ldconfig
32+
3033%files
3134%defattr(-,root,root,-)
3235%{inst_prefix}/bin/*
Original file line number Diff line number Diff line change 11KDIR := /lib/modules/$(shell uname -r) /build
2- VERSION := $(shell cat uio_pci_dma.h | grep UIO_PCI_DMA_VERSION | cut -d\" -f2)
2+ VERSION := $(shell uname -r) - $( shell cat uio_pci_dma.h | grep UIO_PCI_DMA_VERSION | cut -d\" -f2)
33
44all : prepare
55 KDIR=$(KDIR ) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH ) make -C build/
Original file line number Diff line number Diff line change 11Summary: Kernel adapter for the PDA library
2- Name: pda_kadapter
2+ Name: pda_kadapter-%(uname -r)
33Version: 99.99.99
44Release: 0
55License: BSD
You can’t perform that action at this time.
0 commit comments