diff options
-rw-r--r-- | v4l/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/v4l/Makefile b/v4l/Makefile index 963146eaa..f9af44703 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -30,7 +30,7 @@ endif ################################################# # default compilation rule -default:: config-compat.h Makefile.media links .version +default:: config-compat.h Makefile.media links .version oss @if [ "x$(SRCDIR)" != x ]; then echo SRCDIR is $(SRCDIR) ; fi $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules ./scripts/rmmod.pl check @@ -229,6 +229,10 @@ links:: @find ../linux/drivers/media -name '*.[ch]' -type f -exec ln -sf '{}' . \; @find ../linux/sound -name '*.[ch]' -type f -exec ln -sf '{}' . \; +# This link is so code with #include "oss/*.h" will find its header files +oss: + ln -sf . oss + config-compat.h:: .myconfig @perl \ -e 'print "#ifndef __CONFIG_COMPAT_H__\n";' \ @@ -267,7 +271,7 @@ distclean:: clean Kconfig Kconfig.kern .config .config.cmd .myconfig \ .kconfig.dep -rm -rf .tmp_versions - -rm -f scripts/lxdialog scripts/kconfig + -rm -f scripts/lxdialog scripts/kconfig oss @find .. -name '*.orig' -exec rm '{}' \; @find .. -name '*.rej' -exec rm '{}' \; |