加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Android.mk 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
#
# 2017, Christopher N. Hesse <christopher.hesse@delphi.com>
#
LOCAL_PATH := $(call my-dir)
VERSION := 3.2a
TTY_Q_SZ := 0
HISTFILE := .picocom_history
##########################################################################
# linenoise
include $(CLEAR_VARS)
LOCAL_SRC_FILES := linenoise-1.0/linenoise.c
LOCAL_MODULE := linenoise
include $(BUILD_STATIC_LIBRARY)
##########################################################################
# picocom
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
picocom.c \
term.c \
fdio.c \
split.c \
termios2.c
LOCAL_CFLAGS += -DVERSION_STR=\"$(VERSION)\"
LOCAL_CFLAGS += -DTTY_Q_SZ=$(TTY_Q_SZ)
## Comment this out to disable high-baudrate support
LOCAL_CFLAGS += -DHIGH_BAUD
## Normally you should NOT enable both: UUCP-style and flock(2)
## locking.
## Comment this out to disable locking with flock
LOCAL_CFLAGS += -DUSE_FLOCK
## Comment these out to disable UUCP-style lockdirs
#UUCP_LOCK_DIR=/var/lock
#LOCAL_CFLAGS += -DUUCP_LOCK_DIR=\"$(UUCP_LOCK_DIR)\"
## Comment these out to disable "linenoise"-library support
LOCAL_CFLAGS += -DHISTFILE=\"$(HISTFILE)\" -DLINENOISE
LOCAL_STATIC_LIBRARIES += linenoise
LOCAL_MODULE := picocom
include $(BUILD_EXECUTABLE)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化