kumquat-buildroot/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk
Jérôme Pouiller 04249c64fc Vivante drivers: bump to version 3.10.17-1.0.1
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-05-01 22:57:19 +02:00

36 lines
1.4 KiB
Makefile

################################################################################
#
# xdriver_xf86-video-imx-viv
#
################################################################################
XDRIVER_XF86_VIDEO_IMX_VIV_VERSION = 3.10.17-1.0.1
XDRIVER_XF86_VIDEO_IMX_VIV_SITE = $(FREESCALE_IMX_SITE)
XDRIVER_XF86_VIDEO_IMX_VIV_SOURCE = xserver-xorg-video-imx-viv-$(XDRIVER_XF86_VIDEO_IMX_VIV_VERSION).tar.gz
XDRIVER_XF86_VIDEO_IMX_VIV_DEPENDENCIES = gpu-viv-bin-mx6q xserver_xorg-server \
xproto_xproto xproto_xf86driproto libdrm
XDRIVER_XF86_VIDEO_IMX_VIV_LICENSE = GPLv2+
XDRIVER_XF86_VIDEO_IMX_VIV_INSTALL_STAGING = YES
XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD = $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/EXA/src -f makefile.linux
define XDRIVER_XF86_VIDEO_IMX_VIV_BUILD_CMDS
$(XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD) sysroot=$(STAGING_DIR) \
BUSID_HAS_NUMBER=1 BUILD_IN_YOCTO=1 XSERVER_GREATER_THAN_13=1 \
CFLAGS="$(TARGET_CFLAGS) -I$(@D)/DRI_1.10.4/src"
endef
define XDRIVER_XF86_VIDEO_IMX_VIV_INSTALL_STAGING_CMDS
$(XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD) prefix=$(STAGING_DIR)/usr install
$(INSTALL) -D -m 644 $(@D)/EXA/src/vivante_gal/vivante_priv.h \
$(STAGING_DIR)/usr/include/vivante_priv.h
$(INSTALL) -D -m 644 $(@D)/EXA/src/vivante_gal/vivante_gal.h \
$(STAGING_DIR)/usr/include/vivante_gal.h
endef
define XDRIVER_XF86_VIDEO_IMX_VIV_INSTALL_TARGET_CMDS
$(XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD) prefix=$(TARGET_DIR)/usr install
endef
$(eval $(generic-package))