packages: make providers declare what they provide
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 15 May 2014 17:37:05 +0000 (19:37 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 20 May 2014 22:21:14 +0000 (00:21 +0200)
Fixes:
    http://autobuild.buildroot.org/results/285/2851069d6964aa46d26b4aabe7d84e8c0c6c72ce
    http://autobuild.buildroot.net/results/9b7/9b7870354d70e27e42d3d9c1f131ab54706bf20e
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/bellagio/bellagio.mk
package/eudev/eudev.mk
package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk
package/lua/lua.mk
package/luajit/luajit.mk
package/mesa3d/mesa3d.mk
package/rpi-userland/rpi-userland.mk
package/sunxi-mali/sunxi-mali.mk
package/systemd/systemd.mk
package/ti-gfx/ti-gfx.mk

index 993015cf2bac6571ce6b10592077b51208f2f3a3..6db753d50497f89e548c3cbb7bfa6131898fef2b 100644 (file)
@@ -11,5 +11,6 @@ BELLAGIO_AUTORECONF = YES
 BELLAGIO_INSTALL_STAGING = YES
 BELLAGIO_LICENSE = LGPLv2.1+
 BELLAGIO_LICENSE_FILES = COPYING
+BELLAGIO_PROVIDES = libopenmax
 
 $(eval $(autotools-package))
index 8e5e83d3b1fdb6f4bc628e0ddde9136653d2c56d..720c2e9271ea565ab741f0a2d105346bf75442c7 100644 (file)
@@ -25,6 +25,7 @@ EUDEV_CONF_OPT =              \
        --enable-libkmod
 
 EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux kmod
+EUDEV_PROVIDES = udev
 
 ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y)
 EUDEV_CONF_OPT += --enable-rule_generator
index e799fd2a5e4c717c03a85cd56c9cdc564e3d4ee6..49a828779255fed6aea99e0edd3be686e1f33e2e 100644 (file)
@@ -23,6 +23,8 @@ GPU_VIV_BIN_MX6Q_LICENSE = Freescale Semiconductor Software License Agreement
 # for which a separate license is needed...
 GPU_VIV_BIN_MX6Q_REDISTRIBUTE = NO
 
+GPU_VIV_BIN_MX6Q_PROVIDES = libegl libgles
+
 # DirectFB is not supported (wrong version)
 ifeq ($(BR2_PACKAGE_XORG7),y)
 GPU_VIV_BIN_MX6Q_DEPENDENCIES = xlib_libXdamage xlib_libXext
index bc8799a087e288d353dffa9ce31976e193b39b12..524f6a2dae5710eef5ba2116f0f207f157974579 100644 (file)
@@ -14,6 +14,8 @@ LUA_INSTALL_STAGING = YES
 LUA_LICENSE = MIT
 LUA_LICENSE_FILES = COPYRIGHT
 
+LUA_PROVIDES = luainterpreter
+
 LUA_CFLAGS = -Wall -fPIC -DLUA_USE_POSIX
 
 ifeq ($(BR2_PACKAGE_LUA_5_2),y)
index c4b065da519df21efe8f018c35d8ac03d23df29c..72240b277511b1ca57ba41c4d5f0ef6b2dd697b1 100644 (file)
@@ -12,6 +12,8 @@ LUAJIT_LICENSE_FILES = COPYRIGHT
 
 LUAJIT_INSTALL_STAGING = YES
 
+LUAJIT_PROVIDES = luainterpreter
+
 ifneq ($(BR2_LARGEFILE),y)
 LUAJIT_NO_LARGEFILE = TARGET_LFSFLAGS=
 endif
index 63ba57432ebbf1d19fe3a60ec156def1c73b3e31..fa17177b0f8832add3966787fe0bc74188e2577f 100644 (file)
@@ -13,6 +13,8 @@ MESA3D_AUTORECONF = YES
 
 MESA3D_INSTALL_STAGING = YES
 
+MESA3D_PROVIDES =
+
 MESA3D_DEPENDENCIES = \
        expat \
        host-bison \
@@ -71,6 +73,7 @@ ifeq ($(MESA3D_DRI_DRIVERS-y),)
 MESA3D_CONF_OPT += \
        --without-dri-drivers
 else
+MESA3D_PROVIDES += libgl
 MESA3D_CONF_OPT += \
        --enable-dri \
        --enable-shared-glapi \
@@ -85,6 +88,7 @@ endif
 MESA3D_CONF_OPT += --enable-opengl
 
 ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
+MESA3D_PROVIDES += libegl
 # egl depends on gbm, gbm depends on udev
 MESA3D_DEPENDENCIES += udev
 MESA3D_EGL_PLATFORMS = drm
@@ -105,6 +109,7 @@ MESA3D_CONF_OPT += \
 endif
 
 ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES),y)
+MESA3D_PROVIDES += libgles
 MESA3D_CONF_OPT += --enable-gles1 --enable-gles2
 else
 MESA3D_CONF_OPT += --disable-gles1 --disable-gles2
index f6e4443db519a6609b63b9f2dbb49e52e601a073..690fd1ebd59cc28d3e437484ad967db361c40e49 100644 (file)
@@ -11,6 +11,8 @@ RPI_USERLAND_LICENSE_FILES = LICENCE
 RPI_USERLAND_INSTALL_STAGING = YES
 RPI_USERLAND_CONF_OPT = -DVMCS_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=OFF
 
+RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg
+
 define RPI_USERLAND_POST_TARGET_CLEANUP
     rm -Rf $(TARGET_DIR)/usr/src
 endef
index c625c6ef7e5a322d1bd05c624d73331eee3b3909..c6900c8e77d485cf5b6d2833d13ad97363446556 100644 (file)
@@ -9,6 +9,7 @@ SUNXI_MALI_SITE = $(call github,linux-sunxi,sunxi-mali,$(SUNXI_MALI_VERSION))
 
 SUNXI_MALI_INSTALL_STAGING = YES
 SUNXI_MALI_DEPENDENCIES = sunxi-mali-prop
+SUNXI_MALI_PROVIDES = libegl libgles
 
 # The options below must be provided in the environment.  Providing these
 # through options overrides the value and prevents the makefiles from
index f7661abb8c10a665e3ec79c7f23717e292ba19d7..e1c984fec861b8be9cbbbccfbc086656ed5da9d5 100644 (file)
@@ -17,6 +17,8 @@ SYSTEMD_DEPENDENCIES = \
        kmod \
        host-gperf
 
+SYSTEMD_PROVIDES = udev
+
 # Make sure that systemd will always be built after busybox so that we have
 # a consistent init setup between two builds
 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
index e48715d8dcbcdc329ef0993c51c889449c1eb9d1..324e19cc99c659fedfa3c2ea72a49cc914127c95 100644 (file)
@@ -19,6 +19,7 @@ TI_GFX_LICENSE_FILES = TSPA.txt
 TI_GFX_INSTALL_STAGING = YES
 
 TI_GFX_DEPENDENCIES = linux
+TI_GFX_PROVIDES = libegl libgles powervr
 
 ifeq ($(BR2_PACKAGE_TI_GFX_ES3),y)
 TI_GFX_OMAPES = 3.x