diff options
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/ChangeLog | 9 | ||||
-rw-r--r-- | v4l/Makefile | 8 |
2 files changed, 13 insertions, 4 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 7ed1f052a..ac6105dd2 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,3 +1,12 @@ +2005-10-08 21:54 mkrufky + + * ../v4l/Makefile: + - Made symlinks a separate process in Makefile. + - To make symlinks without building, run "make links" + - "make" alone, will symlink and build, as before. + + Signed-off-by: Michael Krufky <mkrufky@m1k.net> + 2005-10-08 21:25 mkrufky * ../Makefile: 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..." |