[Buildroot] [git commit branch/2019.02.x] package/minicom: make default port and lock directory fixed defaults
Peter Korsgaard
peter at korsgaard.com
Tue Dec 3 13:21:20 UTC 2019
commit: https://git.buildroot.net/buildroot/commit/?id=c2bf5f6c756b754ca09d5278b21776082a82165d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2019.02.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 000597f8a9..4635d39ee7 100644
--- a/package/minicom/minicom.mk
+++ b/package/minicom/minicom.mk
@@ -28,4 +28,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