File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ prepare: clean
1313
1414install : all
1515 cp uio_pci_dma.ko /lib/modules/$(shell uname -r) /kernel/drivers/uio/
16- install pda_sysfs.sh /etc/
17- cp 99-pda.rules /etc/udev/rules.d/
16+ # install pda_sysfs.sh /etc/
17+ # cp 99-pda.rules /etc/udev/rules.d/
1818 depmod -a
1919
2020rpminstall : all
2121 mkdir -p $(INSTALL_MOD_PATH ) /lib/modules/$(shell uname -r) /kernel/drivers/uio/
2222 cp uio_pci_dma.ko $(INSTALL_MOD_PATH ) /lib/modules/$(shell uname -r) /kernel/drivers/uio/
23- mkdir -p $(INSTALL_MOD_PATH ) /etc/
24- install pda_sysfs.sh $(INSTALL_MOD_PATH ) /etc/
25- mkdir -p $(INSTALL_MOD_PATH ) /etc/udev/rules.d/
26- cp 99-pda.rules $(INSTALL_MOD_PATH ) /etc/udev/rules.d/
23+ # mkdir -p $(INSTALL_MOD_PATH)/etc/
24+ # install pda_sysfs.sh $(INSTALL_MOD_PATH)/etc/
25+ # mkdir -p $(INSTALL_MOD_PATH)/etc/udev/rules.d/
26+ # cp 99-pda.rules $(INSTALL_MOD_PATH)/etc/udev/rules.d/
2727
2828rpm : pack
2929 ./configure --version
Original file line number Diff line number Diff line change @@ -28,9 +28,6 @@ make INSTALL_MOD_PATH=$RPM_BUILD_ROOT rpminstall
2828%files
2929%defattr(644,root,root,755)
3030/lib/modules/%{UNAME}/kernel/drivers/uio/uio_pci_dma.ko
31- /etc/pda_sysfs.sh
32- /etc/udev/rules.d/99-pda.rules
3331
3432%post
3533/sbin/depmod -a
36- chmod u+x /etc/pda_sysfs.sh
You can’t perform that action at this time.
0 commit comments