blob: cf0487f3c181f65e7fb21b974410b1e834790297 [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := bridge
LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := bridge.c \
fdb.c \
monitor.c \
link.c \
mdb.c \
vlan.c
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include \
$(LOCAL_PATH)/../include/uapi
LOCAL_STATIC_LIBRARIES := libnetlink \
libiprouteutil
LOCAL_CFLAGS := \
-O2 -W -Wall \
-Wno-implicit-function-declaration \
-Wno-missing-field-initializers \
-Wno-pointer-arith \
-Wno-sign-compare \
-Wno-unused-parameter \
-Werror \
-D_GNU_SOURCE -DHAVE_SETNS
include $(BUILD_EXECUTABLE)