Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] kbd: fix target install
@ 2016-03-12 12:43 Niels Skou Olsen
  2016-03-12 22:01 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Niels Skou Olsen @ 2016-03-12 12:43 UTC (permalink / raw)
  To: buildroot

The package makefile fails to append to the KBD_INSTALL_TARGET_OPTS variable in
autotools-package. This means that the DESTDIR and install target are lost, and
so the package is never installed to target.

To fix it the append must happen after the eval of autotools-package.

Signed-off-by: Niels Skou Olsen <niels@tonebarker.dk>
---
 package/kbd/kbd.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/kbd/kbd.mk b/package/kbd/kbd.mk
index 9dabce1..72519ff 100644
--- a/package/kbd/kbd.mk
+++ b/package/kbd/kbd.mk
@@ -17,6 +17,7 @@ KBD_LICENSE = GPLv2+
 KBD_LICENSE_FILES = COPYING
 KBD_AUTORECONF = YES
 
-KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
-
 $(eval $(autotools-package))
+
+# must happen after the autotools-package eval, or else the append becomes an overwrite
+KBD_INSTALL_TARGET_OPTS += MKINSTALLDIRS=$(@D)/config/mkinstalldirs
-- 
2.5.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-03-13 16:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-12 12:43 [Buildroot] [PATCH 1/1] kbd: fix target install Niels Skou Olsen
2016-03-12 22:01 ` Yann E. MORIN
2016-03-13 16:37   ` Niels Skou Olsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox