diff options
author | Michael Krufky <devnull@localhost> | 2005-10-08 21:57:08 +0000 |
---|---|---|
committer | Michael Krufky <devnull@localhost> | 2005-10-08 21:57:08 +0000 |
commit | f8fd8d1da6d456f25c17f824b73c3988c9a169a0 (patch) | |
tree | 76bb00faabf563357bfe5f41bb49eb6f438de0d5 /v4l | |
parent | c3884a87d822718d15e92eb9b7d4c9b505bd8718 (diff) | |
download | mediapointer-dvb-s2-f8fd8d1da6d456f25c17f824b73c3988c9a169a0.tar.gz mediapointer-dvb-s2-f8fd8d1da6d456f25c17f824b73c3988c9a169a0.tar.bz2 |
* ../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>
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..." |