1 ################################################################################
3 # xdriver_xf86-video-imx-viv
5 ################################################################################
7 XDRIVER_XF86_VIDEO_IMX_VIV_VERSION
= 5.0.11.p8.6
8 XDRIVER_XF86_VIDEO_IMX_VIV_SITE
= $(FREESCALE_IMX_SITE
)
9 XDRIVER_XF86_VIDEO_IMX_VIV_SOURCE
= xserver-xorg-video-imx-viv-
$(XDRIVER_XF86_VIDEO_IMX_VIV_VERSION
).
tar.gz
10 XDRIVER_XF86_VIDEO_IMX_VIV_DEPENDENCIES
= imx-gpu-viv xserver_xorg-server \
11 xproto_xproto xproto_xf86driproto libdrm
12 XDRIVER_XF86_VIDEO_IMX_VIV_LICENSE
= MIT
13 XDRIVER_XF86_VIDEO_IMX_VIV_LICENSE_FILES
= COPYING-MIT
14 XDRIVER_XF86_VIDEO_IMX_VIV_INSTALL_STAGING
= YES
15 XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD
= $(TARGET_CONFIGURE_OPTS
) $(MAKE1
) -C
$(@D
)/EXA
/src
-f makefile.linux
17 define XDRIVER_XF86_VIDEO_IMX_VIV_BUILD_CMDS
18 $(XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD
) sysroot
=$(STAGING_DIR
) \
19 BUSID_HAS_NUMBER
=1 BUILD_IN_YOCTO
=1 XSERVER_GREATER_THAN_13
=1 \
20 CFLAGS
="$(TARGET_CFLAGS) -I$(@D)/DRI_1.10.4/src"
23 define XDRIVER_XF86_VIDEO_IMX_VIV_INSTALL_STAGING_CMDS
24 $(XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD
) prefix=$(STAGING_DIR
)/usr
install
25 $(INSTALL
) -D
-m
644 $(@D
)/EXA
/src
/vivante_gal
/vivante_priv.h \
26 $(STAGING_DIR
)/usr
/include/vivante_priv.h
27 $(INSTALL
) -D
-m
644 $(@D
)/EXA
/src
/vivante_gal
/vivante_gal.h \
28 $(STAGING_DIR
)/usr
/include/vivante_gal.h
31 define XDRIVER_XF86_VIDEO_IMX_VIV_INSTALL_TARGET_CMDS
32 $(XDRIVER_XF86_VIDEO_IMX_VIV_MAKE_CMD
) prefix=$(TARGET_DIR
)/usr
install
35 $(eval
$(generic-package
))