summaryrefslogtreecommitdiff
path: root/v4l/Makefile
AgeCommit message (Collapse)Author
2006-06-22The new POSIX backslash behavior on GNU make 3.81 breaks make releaseMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> On make 3.81, backslash isn't removed anymore when inside of a single quotted string. This makes make release to fail, since perl won't understand the backslash. This patch just make all script into one line. Bad to understand, but, at least, it will work fine with both GNU make 3.80 and make 3.81. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-21Some cleanups at the release scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-21Some improvements at the building systemMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Building system now looks kernel config.h and autoconf.h files, seeking for the compiled options at kernel. If something is missing, it will disable compilation for that driver, printing a warning message. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-21merge: masterMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-21Fixes circular dependencies at building systemMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> There were a circular dependency at scripts/make_makefile.pl that were affecting mostly building with GNU make 3.81. Also, scripts/make_noconfig.pl is, in fact, building .myconfig file, so, better to name it as make_myconfig.pl. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-20Adjust distclean target to clean a few more filesMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> distclean was not cleaning the v4l/.myconfig file, or the symlinks made for the lxdialog program. This caused problems especially if you were switching between different kernel versions for testing. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-17Fix problems with AV7110 firmware buildingMauro Carvalho Chehab
From: Trent Piepho <xyzzy@speakeasy.org> Fix missing $() on variable name in dvb/ttpci/Makefile, prevented AV7110 firmware from building. Remove unnecessary and problematic defines in cflags from v4l/Makefile, they conflict with the kernel's autoconf.h and are are overridden by v4l/config-compat.h anyway. Fix AV7110 firmware dependencies so that parallel builds work correctly. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-08insmod.sh were replaced by a perl script (rmmod.pl)Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> insmod.sh were a hack, were somebody should check all dependencies for each module. Several dependencies were mising, and, to keep it updated for 178 modules is really hard. rmmod.pl is a "smart" script: it does: 1) Check, for each found module on v4l, the correct order for each module; 2) Check any dependencies for out-of-tree modules; 3) rmmod/insmod at the correct order; 4) It have a table with the suggested debug parameter for each module. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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>
2006-05-08fix warning: extra tokens at end of #undef directiveMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-05-07fix ability to pass compile-time build options when building from the hg repoMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> When building in-kernel, compile-time build options are passed into the compiler using '#include <linux/config.h>' . This file #include's <linux/autoconf.h> , which is created on the fly by the kbuild system. However, this does not work correctly when building from the mercurial repository, since the kernel is built indepentently of v4l/.myconfig This creates a "config-compat.h", which will be #include'd by compat.h and will emulate <linux/config.h> for the local build. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-28Improved make release method to allow compiling against an arbitrary dirMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, with make DIR=<foo>, it is possible to compile V4L/DVB with a non-installed dir. This will allow better checking on compatibility issues (especially for -git tree) Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Fixed a bug at make menuconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27Fix building when no .version is foundMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Makefile.media requires first .version. Fixed. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-27move install / rminstall invocation rules to v4l/MakefileMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This patch moves the 'make install' and 'make rminstall' rules into the central Makefile. This allows for us to assign dependencies to these rules, so that modules built as a reult of a tree-merge don't have to be installed separately. Now, instead of doing 'make install && make ivtv-install', the simple command, 'make install' will call the sub-install rules and take care of the entire task. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-26The latest patch partially reverted some changes. fixing it.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Cleaned an obsoleted ruleMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Some improvements at MakefileMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Included a INSTALL file make help shows the INSTALL file added make release to force compiling against a specified version Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26Added some tests at build system to avoid rebuilding kernel stuffMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, make will first check for the presense of *conf and lxconfig. if already found at kernel tree, it will use without recompiling. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-26merge: mkrufky build treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-25Improves V4L/DVB in-tree buildingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, make_kconfig.sh will check for boolean/tristate config vars and handle it properly. Also, make allyesconfig/allmodconfig will use make_kconfig.sh to generate .myconfig instead of conf -m. This way, make all will not require priviledges at kernel tree. write access to kernel tree is still required for make menuconfig/ make xconfig/make qconfig. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-25remove redundant EXTRA_CFLAGS setting in Makefile for CONFIG_VIDEO_ADV_DEBUGMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The EXTRA_CFLAGS complile-time options are determined by kbuild. CONFIG_VIDEO_ADV_DEBUG is set in drivers/media/video/[Makefile|Kconfig]. Setting this flag in the local Makefile is redundant. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-25remove redundant EXTRA_CFLAGS from local Makefile for pvrusb2Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The EXTRA_CFLAGS complile-time options for pvrusb2 are determined by kbuild, and are set in drivers/media/video/pvrusb2/[Makefile|Kconfig]. Setting these flags in the local Makefile is redundant. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-25remove forced dvb frontend module dependencies left around from old build methodMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-22Adds capability to build conf/mconf/qconf/lxdialog at kernel treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch adds v4l makefile capabilities to build kernel config required files to allow make menuconfig/xconfig/gconfig to work. After this patch, menu support is more smooth. Of course, root privileges are required to build those stuff. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-12fix ivtv virtual merge build and installMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The merged ivtv build functionality was lost in the new build configuration. This patch restores the build and install functionality for both ivtv and cx88-ivtv. make ivtv enable merged ivtv build make cx88-ivtv enable cx88-ivtv emulation mode for cx88-blackbird make ivtv-up update ivtv sources using subversion make ivtv-install install modules make ivtv-rminstall remove modules Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-09From: Mauro Carvalho Chehab <mchehab@infradead.org>Mauro Carvalho Chehab
Now, "make clean" only removes the intermediate files and keeps the .config avoiding need to reconfigure all stuff. To cleanup all config, "make distclean" is provided. Thanks-to: C.Y.M <syphir@syphir.sytes.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-09Make menuconfig is now more genericMauro Carvalho Chehab
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>
2006-04-09Added some missing extraflagsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Some drivers were missing some options. Fixed. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-09Added make menuconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-08Fix make installMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previous patch broke make install. This patch fix it. Also, serveral cleanups were made at core Makefile. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-07improved make methodMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, "make all" will compile all stuff. just make will make with the options generated by one make config methods. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-07Now, make all will replicate old behaviorMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> make all will do allmodconfig before compiling Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-07Big changes at v4l-dvb make internal workingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Previously, tree building were based on Make.config. This file contained all compiling stuff. Also, v4l/Makefile contained all drivers that should be copiled, replicating the rules of all other Makefiles under linux. Now, make will rely on linux/*/Makefile to compile the modules. This approach allows usage of Kconfig files, allowing partial compilations. Newer makefile commands introduced: make allmodconfig - Selects all stuff to be compiled as module; make config - Selects packages via text interface; make xconfig - Selects packages via qt interface; make gconfig - selects packages via gtk interface. for config, xconfig and gconfig to be used, those scripts needs to be previously compiled at kernel. So, user needs to use those commands previously at kernel tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-04-02add missing modules to install targetMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> - added dib3000-common.ko to inst_frontends - added dvb-usb-dibusb-common.ko to inst_dvb-usb Thanks to: Martin Dauskardt <md001@gmx.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-04-01Move pvrusb2 config switches further down in v4l's MakefileMike Isely
From: Mike Isely <isely@pobox.com> Cosmetic change related to pvrusb2 to ease maintenance of the v4l build. Signed-off-by: Mike Isely <isely@pobox.com>
2006-04-01Split out PVR USB2 model 24xxx hardware support to a config optionMike Isely
From: Mike Isely <isely@pobox.com> Since there are lingering stability problems with support of the newer PVR USB2 model 24xxx series hardware, I have isolate those changes with a config option. This commit leaves that option off. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-29Add new NEC uPD64031A and uPD64083 i2c driversHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - Add support for the uPD64031A NEC Electronics Ghost Reduction i2c device - Add support for the uPD6408x NEC Electronics 3-Dimensional Y/C separation i2c device. Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com> Signed-off-by: Takeru Komoriya <komoriya@paken.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-28Add wm8739 stereo audio ADC i2c driverHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add support for the Wolfson Microelectronics WM8739 stereo A/D converter from the ivtv driver. Many thanks to Takahiro Adachi for writing the original driver. Signed-off-by: Takahiro Adachi <tadachi@tadachi-net.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2006-03-27Merge from http://linuxtv.org/hg/~mcisely/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-26Some cleanups at make xconfigMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, it doesn't depend on kernel Kconfig stuff: - It generates a Kconfig.kern based on unsolved dependencies. - It assumes that all needed dependencies were compiled as module. Only Multimedia tree is showed to the user. To work, user should have runned xconfig before at the normal kernel tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-25Include additional pvrusb2 object files in buildMike Isely
From: Mike Isely <isely@pobox.com> Some new sources have been added into pvrusb2 to deal with cx25840 and wm8775 modules in V4L. Need to add them to the build. Signed-off-by: Mike Isely <isely@pobox.com>
2006-03-23report ivtv svn revision when using 'make ivtv' virtual merge build methodMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> This is what I should have done in the first place. BEFORE: ivtv: version 0.7.0 (v4l-dvb + ivtv virtual merge) loading AFTER: ivtv: version 0.7.0 (v4l-dvb + ivtv virtual merge) Revision: 3207 loading Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-16merged ~mkrufky/pendingMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-03-15Merging from mchehab vivi branchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-15Merging mchehab saa7115 treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-14Merge hunold treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13Remove saa711x driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, em28xx uses saa7115 instead of saa711x. saa7115 driver is capable of handling saa 7113, 7114 and 7115. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13Merge from mkrufky's cx88-ivtv treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-13Merging mkrufky pvrusb2 treeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>