gpu-viv-bin-mx6q: change output selection mechanism
Move output selection to Config.in. It easier to add new backends selection (wayland, directfb, ...). Tested-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>
This commit is contained in:
parent
e1f9466bf9
commit
181e570a43
|
@ -44,6 +44,11 @@ config BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_FB
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT
|
||||||
|
string
|
||||||
|
default "x11" if BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_X11
|
||||||
|
default "fb" if BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_FB
|
||||||
|
|
||||||
config BR2_PACKAGE_PROVIDES_LIBEGL
|
config BR2_PACKAGE_PROVIDES_LIBEGL
|
||||||
default "gpu-viv-bin-mx6q"
|
default "gpu-viv-bin-mx6q"
|
||||||
|
|
||||||
|
|
|
@ -19,13 +19,7 @@ GPU_VIV_BIN_MX6Q_LICENSE_FILES = EULA
|
||||||
GPU_VIV_BIN_MX6Q_REDISTRIBUTE = NO
|
GPU_VIV_BIN_MX6Q_REDISTRIBUTE = NO
|
||||||
|
|
||||||
GPU_VIV_BIN_MX6Q_PROVIDES = libegl libgles libopenvg
|
GPU_VIV_BIN_MX6Q_PROVIDES = libegl libgles libopenvg
|
||||||
|
GPU_VIV_BIN_MX6Q_LIB_TARGET = $(call qstrip,$(BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT))
|
||||||
# DirectFB is not supported (wrong version)
|
|
||||||
ifeq ($(BR2_PACKAGE_GPU_VIV_BIN_MX6Q_OUTPUT_X11),y)
|
|
||||||
GPU_VIV_BIN_MX6Q_LIB_TARGET = x11
|
|
||||||
else
|
|
||||||
GPU_VIV_BIN_MX6Q_LIB_TARGET = fb
|
|
||||||
endif
|
|
||||||
|
|
||||||
define GPU_VIV_BIN_MX6Q_EXTRACT_CMDS
|
define GPU_VIV_BIN_MX6Q_EXTRACT_CMDS
|
||||||
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(GPU_VIV_BIN_MX6Q_SOURCE))
|
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(GPU_VIV_BIN_MX6Q_SOURCE))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user