kumquat-buildroot/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk
Bernd Kuhls 4c089c9363 package/x11r7/xdriver_xf86-video-*: mass switch to xorgproto
The new package xorgproto will combine and replace all current xproto_*
packages. For details read
https://lists.x.org/archives/xorg-announce/2018-February/002835.html

Removed special dri2/dri3 handling because xorgproto always installs
dri3proto.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-28 22:32:43 +02:00

36 lines
1.4 KiB
Makefile

################################################################################
#
# xdriver_xf86-video-imx-viv
#
################################################################################
XDRIVER_XF86_VIDEO_IMX_VIV_VERSION = rel_imx_4.9.x_1.0.0_ga
XDRIVER_XF86_VIDEO_IMX_VIV_SITE = https://source.codeaurora.org/external/imx/xf86-video-imx-vivante
XDRIVER_XF86_VIDEO_IMX_VIV_SITE_METHOD = git
XDRIVER_XF86_VIDEO_IMX_VIV_DEPENDENCIES = imx-gpu-viv imx-gpu-g2d xserver_xorg-server \
xorgproto libdrm
XDRIVER_XF86_VIDEO_IMX_VIV_LICENSE = MIT
XDRIVER_XF86_VIDEO_IMX_VIV_LICENSE_FILES = COPYING-MIT
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)"
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))