Hi, <div><br></div><div>I'm new to Embedded System World. There are some problems, "scp not found", when I use dropbear-scp to copy some files. I trace the source code to find the DEFINE variables: DEFAULT_PATH & _PATH_SSH_PROGRAM.</div>
<div><br></div><div>Could we redefine it at configure or make process without modify the source code?</div><div><br></div><div>like that:</div><div>===</div><div><div>+#ifndef _PATH_SSH_PROGRAM</div><div> #define _PATH_SSH_PROGRAM "/usr/bin/dbclient"</div>
<div>+#endif</div></div><div><br></div><div><div>+#ifndef DEFAULT_PATH</div><div> #define DEFAULT_PATH "/usr/bin:/bin"</div><div>+#endif</div></div><div><br></div><div>and then:</div><div>===</div><div>$ ./configure</div>
<div>$ CFLAGS=' -D_PATH_SSH_PROGRAM="/path/dbclient" -DDDEFAULT_PATH="/usr/bin:/bin:/mnt/ubi_boot/bin" ' make</div><div><div>$ CFLAGS=' -D_PATH_SSH_PROGRAM="/path/dbclient" -DDDEFAULT_PATH="/usr/bin:/bin:/mnt/ubi_boot/bin" ' make scp</div>
</div><div><br></div><div><br></div><div>Best Regards, </div><div>Yuan-Yi Chang</div>