[Buildroot] [git commit branch/2019.08.x] package/minicom: make default port and lock directory fixed defaults

Peter Korsgaard peter at korsgaard.com
Tue Dec 3 13:21:13 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=e55bfd6c9dd864ffbe6eb86554d557c5251c0081
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.08.x

Minicom's configure script will set values for the default port and lock
directory based on the configuration of the host machine, which is not
useful for cross-compiling or reproducible builds, so instead set them
to sensible default values.

Signed-off-by: James Byrne <james.byrne at origamienergy.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit eeaa4328004dff1a45483bfde1fb80cc03724c0b)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/minicom/minicom.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/minicom/minicom.mk b/package/minicom/minicom.mk
index a3c58d2d4e..e42cd5c2ab 100644
--- a/package/minicom/minicom.mk
+++ b/package/minicom/minicom.mk
@@ -22,4 +22,8 @@ define MINICOM_MKDIR_M4
 endef
 MINICOM_POST_PATCH_HOOKS += MINICOM_MKDIR_M4
 
+MINICOM_CONF_OPTS = \
+	--enable-dfl-port=/dev/ttyS1 \
+	--enable-lock-dir=/var/lock
+
 $(eval $(autotools-package))


More information about the buildroot mailing list