camera: build infrastructure
PATCH 1/1 camera: build infrastructure
Tony,
I have attached patch which updates omap camera build infrastructure. Making a place for OMAP2 stuff. If we are agree on this then defconfigs needs update, which I can submit next.
Tested with building h3 and h2 defconfigs.
Signed-off-by Komal Shah <[email protected]>
---Komal Shah
http://komalshah.blogspot.com/
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
drivers/media/video/Kconfig +1 -4
@@ -347,9 +347,6 @@ config VIDEO_DECODER Say Y here to compile drivers for SAA7115, SAA7127 and CX25840 video decoders. -config VIDEO_OMAP_CAMERA - tristate "OMAP Video for Linux camera driver" - depends on VIDEO_DEV && ARCH_OMAP16XX - select VIDEO_BUF +source drivers/media/video/omap/Kconfig endmenu
drivers/media/video/omap/Kconfig new file +12 -0
@@ -0,0 +1,12 @@ +config VIDEO_OMAP_CAMERA + tristate "OMAP Camera support (EXPERIMENTAL)" + select VIDEO_BUF + depends on VIDEO_DEV && (ARCH_OMAP16XX || ARCH_OMAP24XX) + help + V4L2 camera driver support for OMAP1/2 based boards. + +config VIDEO_CAMERA_SENSOR_OV9640 + tristate "OV9640 sensor support" + depends on VIDEO_OMAP_CAMERA + help + OmniVision 9640 camera sensor support
drivers/media/video/omap/Makefile +8 -3
@@ -1,7 +1,12 @@ -# Makefile for camera driver for H2/H3 +# Makefile for OMAP1/2 camera driver -omapCamera-objs := camera_core.o omap16xxcam.o sensor_ov9640.o +obj-$(CONFIG_VIDEO_OMAP_CAMERA) += omapcamera.o +obj-$(CONFIG_VIDEO_CAMERA_SENSOR_OV9640) += sensor_ov9640.o -obj-y += omapCamera.o +objs-yy := camera_core.o + +objs-y$(CONFIG_ARCH_OMAP16XX) += omap16xxcam.o + +omapcamera-objs := $(objs-yy) EXTRA_CFLAGS = -I$(src)/..
_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source