diff options
Diffstat (limited to 'v4l/Makefile')
-rw-r--r-- | v4l/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/v4l/Makefile b/v4l/Makefile index 13318d519..7476c8287 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -155,7 +155,10 @@ v4l_modules := $(shell lsmod|cut -d' ' -f1 ) $(patsubst %.ko,%,$(inst-m)) LC_ALL = POSIX export LC_ALL -default:: +default:: links + $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules + +links:: find ../linux/drivers/media/video -name '*.[c,h]' -type f -exec ln -sf '{}' . \; find ../linux/kernel/drivers/usb/media -name '*.[c,h]' -type f -exec ln -sf '{}' . \; @@ -163,9 +166,6 @@ default:: ln -sf ../linux/drivers/media/common/ir-common.c . - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules - - install:: rminstall @echo -e "\nInstalling new V4L modules at corresponding Kernel dir..." |