From ce9bb40d3a071e34fea5557e89ff94960a0f03ab Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 9 Apr 2006 20:28:55 -0300 Subject: Make menuconfig is now more generic From: Mauro Carvalho Chehab It works fine with kernels 2.6.16 and 2.6.14. Signed-off-by: Mauro Carvalho Chehab --- v4l/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'v4l') 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 -- cgit v1.2.3