summaryrefslogtreecommitdiff
path: root/v4l/Makefile.kernel
AgeCommit message (Collapse)Author
2006-12-21Fix building of mconfTrent Piepho
From: Trent Piepho <xyzzy@speakeasy.org> A patch in 2.6.19-rc1, c29121b787f533d135ae47b5f3044adb66cbebef: > user: Sam Ravnborg <sam@neptun.ravnborg.org> > 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 <xyzzy@speakeasy.org>
2006-07-04sync with masterPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> sync with master Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-06-04New system for building kernel's config programsMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> Since v4l-dvb now uses the kernel's config system, it needs certain kernel binaries like qconf, mconf, and lxdialog to run the config targets. The kernel's Makefile is not kind enough to give us a target to just build these programs. What this patch does is introduce a new makefile, Makefile.kernel, which includes the kernel's top-level Makefile. Then adds some new "v4l-*" targets which just build the kernel config programs. The main v4l Makefile is patched to add the necessary kernel conf programs as dependencies to their respective config targets. Rules to build the kernel conf programs are added which invoke a sub-make with the new Makefile.kernel. These rules are only invoked when the kernel conf programs needed don't yet exist. If they already exist, no write access to the kernel source tree is needed. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>