From patchwork Wed Nov 14 13:21:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3, 12/12] xf86-video-omap: add new recipe to follow the maintained repo Date: Wed, 14 Nov 2012 13:21:10 -0000 From: Laurentiu Palcu X-Patchwork-Id: 39029 Message-Id: <7f73d8a0aee08a41e949ec7a1297f5edbf12ed57.1352898505.git.laurentiu.palcu@intel.com> To: openembedded-core@lists.openembedded.org This new recipe is needed because the old driver is unmaintained. This new recipe will follow the new repo. Signed-off-by: Laurentiu Palcu --- .../xorg-driver/xf86-video-omap_git.bb | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb b/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb new file mode 100644 index 0000000..b3177eb --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-video-omap_git.bb @@ -0,0 +1,31 @@ +require xorg-driver-video.inc + +SUMMARY = "X.Org X server -- Texas Instruments OMAP framebuffer driver" + +DESCRIPTION = "omap driver supports the basic Texas Instruments OMAP \ +framebuffer." + +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=10ce5de3b111315ea652a5f74ec0c602" +DEPENDS += "virtual/libx11 libdrm" + +RPROVIDES = "xf86-video-omapfb" +RCONFLICTS = "xf86-video-omapfb" +RREPLACES = "xf86-video-omapfb" + +SRCREV = "ae0394e687f1a77e966cf72f895da91840dffb8f" +PR = "${INC_PR}.0" +PV = "0.4.2+gitr${SRCPV}" + +SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-omap;protocol=git \ +" + +S = "${WORKDIR}/git" + +EXTRA_OECONF_armv7a = " --enable-neon " +CFLAGS += " -I${STAGING_INCDIR}/xorg " + +# Use overlay 2 on omap3 to enable other apps to use overlay 1 (e.g. dmai or omapfbplay) +do_compile_prepend_armv7a () { + sed -i -e s:fb1:fb2:g ${S}/src/omap_xv.c +}