|
@@ -124,6 +124,14 @@ ifneq ($(BR2_PACKAGE_DROPBEAR_LASTLOG),y)
|
|
DROPBEAR_CONF_OPTS += --disable-lastlog
|
|
DROPBEAR_CONF_OPTS += --disable-lastlog
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+DROPBEAR_LOCALOPTIONS_FILE = $(call qstrip,$(BR2_PACKAGE_DROPBEAR_LOCALOPTIONS_FILE))
|
|
|
|
+ifneq ($(DROPBEAR_LOCALOPTIONS_FILE),)
|
|
|
|
+define DROPBEAR_APPEND_LOCALOPTIONS_FILE
|
|
|
|
+ cat $(DROPBEAR_LOCALOPTIONS_FILE) >> $(@D)/localoptions.h
|
|
|
|
+endef
|
|
|
|
+DROPBEAR_POST_EXTRACT_HOOKS += DROPBEAR_APPEND_LOCALOPTIONS_FILE
|
|
|
|
+endif
|
|
|
|
+
|
|
define DROPBEAR_INSTALL_TARGET_CMDS
|
|
define DROPBEAR_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 755 $(@D)/dropbearmulti $(TARGET_DIR)/usr/sbin/dropbear
|
|
$(INSTALL) -m 755 $(@D)/dropbearmulti $(TARGET_DIR)/usr/sbin/dropbear
|
|
for f in $(DROPBEAR_TARGET_BINS); do \
|
|
for f in $(DROPBEAR_TARGET_BINS); do \
|