Message ID | 4a3j1bxkro.ln2@ID-313208.user.individual.net |
---|---|
State | Not Applicable |
Headers | show |
Bernd, All, On 2014-04-10 20:08 +0200, Bernd Kuhls spake thusly: > while testing Gotham beta3 using configs/raspberrypi_defconfig I stumbled > across this part of xbmc.mk. The defconfig does not enable the BR2 > _PACKAGE_RPI_USERLAND package, Yes, this is expected. The defconfig files are the minimum to get the system up-n-running up to a shell prompt. rpi-userland is not part of what is required for that, so it is explicitly not enabled. > so xbmc is configured without its special > raspberry platform option. This should not be possible, since XBMC depends on an OpenGL ES and EGL backend to be selected, and rpi-suerland is such a provider for EGL and GLES. If you managed to be able to select XBMC without selecting rpi-userland, that's because you enabled another OpenGL es and EGL provider. If no provider for OpenGL ES and EGL is selected, then XBMC should not be visible. > Changing the above if-clause to check for package > BR2_PACKAGE_RPI_FIRMWARE, which is used in raspberrypi_defconfig, seems to > work better, at least Gotham beta3 is compiled without errors. That's wrong, because rpi-firmware is not an OpenGL ES and EGL provider. rpi-firmware only provides the boot files for the RPi. > I have to add that I do not own a Raspberry system, this was the first time > ever I compiled code for it ;) What do you think about this patch? > > diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk > index 9169698..e1885fc 100644 > --- a/package/xbmc/xbmc.mk > +++ b/package/xbmc/xbmc.mk > @@ -43,7 +43,7 @@ XBMC_CONF_OPT += \ > --disable-rsxs \ > --enable-optimizations > > -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) > +ifeq ($(BR2_PACKAGE_RPI_FIRMWARE),y) This is incorrect, as I said above: the real dependency is on rpi-userland. At worst, this is because you have *another* OpenGL ES and EGL provider selected in the menuconfig (see above). Regards, Yann E. MORIN.
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote in news:20140410203202.GA4037@free.fr: > At worst, this is because you have *another* OpenGL ES and EGL provider > selected in the menuconfig (see above). Hi, correct, I selected mesa3d as opengl provider using your new patchset. Regards, Bernd
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk index 9169698..e1885fc 100644 --- a/package/xbmc/xbmc.mk +++ b/package/xbmc/xbmc.mk @@ -43,7 +43,7 @@ XBMC_CONF_OPT += \ --disable-rsxs \ --enable-optimizations -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +ifeq ($(BR2_PACKAGE_RPI_FIRMWARE),y) XBMC_DEPENDENCIES += rpi-userland XBMC_CONF_OPT += --with-platform=raspberry-pi --enable-player=omxplayer XBMC_CONF_ENV += INCLUDES="-I