kumquat-buildroot/package/kbd/kbd.mk
Niels Skou Olsen 28a55b6689 kbd: fix install to target
The package makefile attempted to append to KBD_INSTALL_TARGET_OPTS, but this
fails when done before evaluating $(autotools-package). This is because
autotools-package uses ?= to set default values. Instead of appending we now
override KBD_INSTALL_TARGET_OPTS.

Signed-off-by: Niels Skou Olsen <niels@tonebarker.dk>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-03-13 21:17:12 +01:00

23 lines
615 B
Makefile

################################################################################
#
# kbd
#
################################################################################
KBD_VERSION = 2.0.3
KBD_SOURCE = kbd-$(KBD_VERSION).tar.xz
KBD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kbd
KBD_CONF_OPTS = \
--disable-vlock \
--disable-tests
KBD_DEPENDENCIES = \
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
host-pkgconf
KBD_LICENSE = GPLv2+
KBD_LICENSE_FILES = COPYING
KBD_AUTORECONF = YES
KBD_INSTALL_TARGET_OPTS = MKINSTALLDIRS=$(@D)/config/mkinstalldirs DESTDIR=$(TARGET_DIR) install
$(eval $(autotools-package))