mirror of
https://github.com/tbsdtv/media_build.git
synced 2025-07-23 04:13:02 +02:00
Fix install path and extend clean list.
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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 $@
|
||||
|
Reference in New Issue
Block a user