1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES := \ 6 iw.c genl.c event.c info.c phy.c \ 7 interface.c ibss.c station.c survey.c util.c ocb.c \ 8 mesh.c mpath.c mpp.c scan.c reg.c \ 9 reason.c status.c connect.c link.c offch.c ps.c cqm.c \ 10 bitrate.c wowlan.c coalesce.c roc.c p2p.c vendor.c \ 11 sections.c 12 13LOCAL_CFLAGS += -DCONFIG_LIBNL20 14 15# Silence some warnings for now. Needs to be fixed upstream. b/26105799 16LOCAL_CFLAGS += -Wno-unused-parameter \ 17 -Wno-sign-compare \ 18 -Wno-format 19LOCAL_CLANG_CFLAGS += -Wno-enum-conversion 20 21LOCAL_LDFLAGS := -Wl,--no-gc-sections 22LOCAL_MODULE_TAGS := debug 23LOCAL_STATIC_LIBRARIES := libnl 24LOCAL_MODULE := iw 25 26LOCAL_MODULE_CLASS := EXECUTABLES 27LOCAL_GENERATED_SOURCES := $(local-generated-sources-dir)/version.c 28$(LOCAL_GENERATED_SOURCES) : $(LOCAL_PATH)/version.sh 29 @mkdir -p $(dir $@) 30 $(hide) $< $@ 31 32include $(BUILD_EXECUTABLE) 33