You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1017 B
46 lines
1017 B
LOCAL_PATH:= $(call my-dir) |
|
include $(CLEAR_VARS) |
|
|
|
LOCAL_SRC_FILES:= \ |
|
auth.c \ |
|
ccp.c \ |
|
chap-md5.c \ |
|
chap-new.c \ |
|
chap_ms.c \ |
|
demand.c \ |
|
eap.c \ |
|
ecp.c \ |
|
eui64.c \ |
|
fsm.c \ |
|
ipcp.c \ |
|
ipv6cp.c \ |
|
lcp.c \ |
|
magic.c \ |
|
main.c \ |
|
options.c \ |
|
pppcrypt.c \ |
|
pppox.c \ |
|
session.c \ |
|
sys-linux.c \ |
|
tty.c \ |
|
upap.c \ |
|
utils.c |
|
|
|
# options.c:623:21: error: passing 'const char *' to parameter of type 'char *' discards qualifiers. |
|
# [-Werror,-Wincompatible-pointer-types-discards-qualifiers] |
|
LOCAL_CLANG_CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers |
|
|
|
LOCAL_SHARED_LIBRARIES := \ |
|
libcutils liblog libcrypto |
|
|
|
LOCAL_C_INCLUDES := \ |
|
$(LOCAL_PATH)/include |
|
|
|
LOCAL_CFLAGS := -DCHAPMS=1 -DMPPE=1 -DINET6=1 -DUSE_OPENSSL=1 -Wno-unused-parameter -Wno-empty-body -Wno-missing-field-initializers -Wno-attributes -Wno-sign-compare -Wno-pointer-sign -Werror |
|
|
|
# Turn off warnings for now until this is fixed upstream. b/18632512 |
|
LOCAL_CFLAGS += -Wno-unused-variable |
|
|
|
LOCAL_MODULE:= pppd |
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|