kbd: fix install to target
authorNiels Skou Olsen <niels@tonebarker.dk>
Sun, 13 Mar 2016 16:59:48 +0000 (17:59 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 13 Mar 2016 20:17:12 +0000 (21:17 +0100)
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>
package/kbd/kbd.mk

index 9dabce13b1c0f301768eb10e7d69147b57f78119..0243c53265b951a9644bc6481fb0754128a384eb 100644 (file)
@@ -17,6 +17,6 @@ KBD_LICENSE = GPLv2+
 KBD_LICENSE_FILES = COPYING
 KBD_AUTORECONF = YES
 
-KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
+KBD_INSTALL_TARGET_OPTS = MKINSTALLDIRS=$(@D)/config/mkinstalldirs DESTDIR=$(TARGET_DIR) install
 
 $(eval $(autotools-package))