summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-09 20:28:55 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-09 20:28:55 -0300
commitce9bb40d3a071e34fea5557e89ff94960a0f03ab (patch)
tree3a30ca020f75482c82a82cd9a9c9b9ddcd207873 /v4l
parent6f35eb920300b903a0078d2ca191d1ea9cd7a15f (diff)
downloadmediapointer-dvb-s2-ce9bb40d3a071e34fea5557e89ff94960a0f03ab.tar.gz
mediapointer-dvb-s2-ce9bb40d3a071e34fea5557e89ff94960a0f03ab.tar.bz2
Make menuconfig is now more generic
From: Mauro Carvalho Chehab <mchehab@infradead.org> It works fine with kernels 2.6.16 and 2.6.14. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 8e4170277..f80c2aec1 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -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