summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 8e4170277..ad1f1ac23 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -189,11 +189,11 @@ 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 \
- ivtv-svnversion.h \
- Kconfig Kconfig.kern .config .config.cmd
+ ivtv-svnversion.h
distclean:: clean
- -rm -f .version .*.o.flags .*.o.d Makefile.media
+ -rm -f .version .*.o.flags .*.o.d Makefile.media \
+ Kconfig Kconfig.kern .config .config.cmd
-rm -rf .tmp_versions
@find .. -name '*.orig' -exec rm '{}' \;
@find .. -name '*.rej' -exec rm '{}' \;
@@ -233,7 +233,15 @@ config:: links .version
menuconfig:: links .version
./scripts/make_kconfig.pl
- -ln -s /usr/src/linux-2.6.16/scripts/kconfig scripts/
+ -rm scripts/lxdialog scripts/kconfig
+ -if [ -d $(KDIR)/scripts/lxdialog ]; then \
+ ln -s $(KDIR)/scripts/lxdialog scripts/lxdialog; \
+ fi
+
+ -if [ -d $(KDIR)/scripts/kconfig ]; then \
+ ln -s $(KDIR)/scripts/kconfig scripts/kconfig; \
+ fi
+
$(KDIR)/scripts/kconfig/mconf Kconfig
./scripts/make_noconfig.pl