[Buildroot] [PATCH] dropbear: Create destination directories before use in install stage.

Quotient Remainder quotientvremainder at gmail.com
Fri Jul 22 11:05:46 UTC 2011


Signed-off-by: Quotient Remainder <quotientvremainder at gmail.com>
---
 package/dropbear/dropbear.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/dropbear/dropbear.mk b/package/dropbear/dropbear.mk
index 6ef5dec..2127096 100644
--- a/package/dropbear/dropbear.mk
+++ b/package/dropbear/dropbear.mk
@@ -47,6 +47,7 @@ DROPBEAR_DEPENDENCIES += zlib
 endif
 
 define DROPBEAR_INSTALL_TARGET_CMDS
+	mkdir -p $(TARGET_DIR)/usr/bin $(TARGET_DIR)/usr/sbin
 	$(INSTALL) -m 755 $(@D)/dropbearmulti $(TARGET_DIR)/usr/sbin/dropbear
 	for f in $(DROPBEAR_TARGET_BINS); do \
 		ln -snf ../sbin/dropbear $(TARGET_DIR)/usr/bin/$$f ; \
-- 
1.7.6



More information about the buildroot mailing list