[Buildroot] [PATCH v6 15/28] package/qt-webkit-kiosk: Convert to qmake infra
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Mar 11 22:04:57 UTC 2020
Hello Andreas,
On Mon, 17 Feb 2020 22:23:37 +0100
Andreas Naumann <anaumann at ultratronik.de> wrote:
> Convert but keep the slightly complicated custom install step for now.
>
> Signed-off-by: Andreas Naumann <anaumann at ultratronik.de>
> ---
> package/qt-webkit-kiosk/qt-webkit-kiosk.mk | 11 +++--------
> 1 file changed, 3 insertions(+), 8 deletions(-)
I've applied, but I have some comments below.
>
> diff --git a/package/qt-webkit-kiosk/qt-webkit-kiosk.mk b/package/qt-webkit-kiosk/qt-webkit-kiosk.mk
> index a714fca9c9..22cbf3cb87 100644
> --- a/package/qt-webkit-kiosk/qt-webkit-kiosk.mk
> +++ b/package/qt-webkit-kiosk/qt-webkit-kiosk.mk
> @@ -11,13 +11,8 @@ QT_WEBKIT_KIOSK_DEPENDENCIES = qt5webkit qt5multimedia
> QT_WEBKIT_KIOSK_LICENSE = LGPL-3.0
> QT_WEBKIT_KIOSK_LICENSE_FILES = doc/lgpl.html
>
> -define QT_WEBKIT_KIOSK_CONFIGURE_CMDS
> - (cd $(@D); $(TARGET_MAKE_ENV) $(QT5_QMAKE) PREFIX=/usr)
> -endef
> -
> -define QT_WEBKIT_KIOSK_BUILD_CMDS
> - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
> -endef
> +QT_WEBKIT_KIOSK_INSTALL_STAGING = NO
This is not needed, as this is the default, and check-package complains
about this.
> +QT_WEBKIT_KIOSK_CONF_OPTS = PREFIX=/usr
Do you know why specifically for this package we need to pass
PREFIX=/usr, and not for any other qmake-based package ?
> define QT_WEBKIT_KIOSK_INSTALL_TARGET_CMDS
> $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src -f Makefile.qt-webkit-kiosk \
> @@ -29,4 +24,4 @@ define QT_WEBKIT_KIOSK_INSTALL_TARGET_CMDS
> $(if $(BR2_PACKAGE_QT_WEBKIT_KIOSK_SOUNDS),install_sound)
> endef
Any reason for these custom installation commands, rather than using
the package-provided installation logic ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list