package/minicom: make default port and lock directory fixed defaults
authorJames Byrne <james.byrne@origamienergy.com>
Tue, 26 Nov 2019 09:52:04 +0000 (09:52 +0000)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 26 Nov 2019 11:54:26 +0000 (12:54 +0100)
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@origamienergy.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/minicom/minicom.mk

index 11d69d4d0e8de3dd8550beadaa7f6a211bf0bd0b..c08e9b10f419e0bd7193a09940672f586451bb1c 100644 (file)
@@ -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))