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>
endef
MINICOM_POST_PATCH_HOOKS += MINICOM_MKDIR_M4
+MINICOM_CONF_OPTS = \
+ --enable-dfl-port=/dev/ttyS1 \
+ --enable-lock-dir=/var/lock
+
$(eval $(autotools-package))