From 6ec0d8ea1d596a6165a59a1b76adb0b2d440e6ed Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Thu, 21 Dec 2006 05:10:07 -0800 Subject: Fix building of mconf From: Trent Piepho A patch in 2.6.19-rc1, c29121b787f533d135ae47b5f3044adb66cbebef: > user: Sam Ravnborg > date: Sat Sep 30 07:19:20 2006 -0200 > kbuild: do not build mconf & lxdialog unless needed Was preventing v4l-dvb from building mconf too. That patch checks the make command goal, and only includes rules for mconf when the goal is "menuconfig". We don't want to use make menuconfig, as that would configure the kernel. The workaround is to set hostprogs-y=mconf on the make command line. The kernel build system certainly isn't making this easy for us. Signed-off-by: Trent Piepho --- v4l/Makefile.kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v4l/Makefile.kernel b/v4l/Makefile.kernel index bbcfdc6d3..7229c6e91 100644 --- a/v4l/Makefile.kernel +++ b/v4l/Makefile.kernel @@ -35,7 +35,7 @@ v4l-gconf: scripts_basic # Used by the menuconfig target, also needs lxdialog v4l-mconf: scripts_basic - $(MAKE) $(build)=scripts/kconfig scripts/kconfig/mconf + $(MAKE) $(build)=scripts/kconfig hostprogs-y=mconf scripts/kconfig/mconf # Rule used for kernel where lxdialog is in directory scripts/lxdialog v4l-%/scripts/lxdialog/lxdialog: scripts_basic -- cgit v1.2.3