Skip to contentSkip to conversation

package/kbd: fix not installing to the target

PATCH New Martin Bark 2 participants 2 messages Mar 7, 2016 – Mar 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/kbd: fix not installing to the target

Commit https://git.busybox.net/buildroot/commit/?id=9f81bad fixed a build error in kbd but unfortunately it broke the target install rule so that nothing is being installed.

Add the missing DESTDIR=$(TARGET_DIR) install to KBD_INSTALL_TARGET_OPTS so that it installs to the target again.

Cc Bernd Kuhls <[email protected]>
Cc Thomas Petazzoni <[email protected]>

---

Changes v1 -> v2
- Moved KBD_INSTALL_TARGET_OPTS before $(eval $(autotools-package)) (Suggested by Thomas)

---
 package/kbd/kbd.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/kbd/kbd.mk +2 -1
index 9dabce1..7d9adf3 100644
@@ -17,6 +17,7 @@ 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))
Signature · 1 line
2.7.2
#1 lore raw

PATCH v2 1/1 package/kbd: fix not installing to the target

Dear Martin Bark,

Quoted 10 lines · Martin Bark

Commit https://git.busybox.net/buildroot/commit/?id=9f81bad fixed a build error in kbd but unfortunately it broke the target install rule so that nothing is being installed.

Add the missing DESTDIR=$(TARGET_DIR) install to KBD_INSTALL_TARGET_OPTS so that it installs to the target again.

Cc Bernd Kuhls <[email protected]>
Cc Thomas Petazzoni <[email protected]>

Peter applied a similar patch from a different contributor. See
https://git.busybox.net/buildroot/commit/?id=28a55b66897f97e3acad36549a4c9e02e7f5dc22.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com