Fix install path and extend clean list.

This commit is contained in:
CrazyCat
2021-08-24 17:46:23 +03:00
parent 9256f9c4ba
commit 378f61222e
2 changed files with 4 additions and 5 deletions

View File

@@ -16,9 +16,8 @@ echo "V4L drivers installing..."
#sudo rm -r -f /lib/modules/$(uname -r)/kernel/drivers/media
#sudo rm -r -f /lib/modules/$(uname -r)/kernel/drivers/staging/media
#sudo rm -r -f /lib/modules/$(uname -r)/kernel/drivers/misc/altera-stapl
sudo rm -r -f /lib/modules/$(uname -r)/kernel/drivers/linux
sudo rm -r -f /lib/modules/$(uname -r)/extra
#sudo rm -r -f /lib/modules/$(uname -r)/kernel/drivers/linux
sudo rm -r -f /lib/modules/$(uname -r)/updates/extra
sudo make install

View File

@@ -156,7 +156,7 @@ endif
PWD := $(shell pwd)
DEST := /lib/modules/$(KERNELRELEASE)/v4l2
KDIR26 := /lib/modules/$(KERNELRELEASE)/extra/media
KDIR26 := /lib/modules/$(KERNELRELEASE)/updates/extra/media
#################################################
# Compiler fixup rules
@@ -287,7 +287,7 @@ card cardlist cardlists::
clean::
@find . -name '*.c' -type l -exec rm '{}' \;
@find . -name '*.h' -type l -exec rm '{}' \;
-rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
-rm -f *~ *.o *.ko *.mod *.dwo .*.o.cmd .*.mod.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
config-compat.h Module.symvers Module.markers modules.order \
*.unsigned .*.ko.unsigned.cmd
$(MAKE) -C firmware $@