[Buildroot] [PATCH v2] package/minicom: make default port and lock directory fixed defaults

James Byrne james.byrne at origamienergy.com
Tue Nov 26 09:52:04 UTC 2019


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>

---
Changes v1 -> v2:
  - Use fixed default values instead of configurable ones.

Signed-off-by: James Byrne <james.byrne at origamienergy.com>
---
 package/minicom/minicom.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/minicom/minicom.mk b/package/minicom/minicom.mk
index 11d69d4d0e..82484557ab 100644
--- a/package/minicom/minicom.mk
+++ b/package/minicom/minicom.mk
@@ -22,4 +22,6 @@ 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))
-- 
2.24.0



More information about the buildroot mailing list