Home | History | Annotate | Download | only in iw
      1 LOCAL_PATH := $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_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 
     13 LOCAL_CFLAGS += -DCONFIG_LIBNL20
     14 
     15 # Silence some warnings for now. Needs to be fixed upstream. b/26105799
     16 LOCAL_CFLAGS += -Wno-unused-parameter \
     17                 -Wno-sign-compare \
     18                 -Wno-format
     19 LOCAL_CLANG_CFLAGS += -Wno-enum-conversion
     20 
     21 LOCAL_LDFLAGS := -Wl,--no-gc-sections
     22 LOCAL_MODULE_TAGS := debug
     23 LOCAL_STATIC_LIBRARIES := libnl
     24 LOCAL_MODULE := iw
     25 
     26 LOCAL_MODULE_CLASS := EXECUTABLES
     27 LOCAL_GENERATED_SOURCES := $(local-generated-sources-dir)/version.c
     28 $(LOCAL_GENERATED_SOURCES) : $(LOCAL_PATH)/version.sh
     29 	@mkdir -p $(dir $@)
     30 	$(hide) $< $@
     31 
     32 include $(BUILD_EXECUTABLE)
     33