Android.mk revision 2af129ead0104bc925504169300945e26bd6ccb9
108620177f7d0aa706359fc6fa2c1f8477c133041Johannes BergLOCAL_PATH := $(call my-dir)
208620177f7d0aa706359fc6fa2c1f8477c133041Johannes Berg
308620177f7d0aa706359fc6fa2c1f8477c133041Johannes Berginclude $(CLEAR_VARS)
408620177f7d0aa706359fc6fa2c1f8477c133041Johannes Berg
51179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe BrandenburgerLOCAL_SRC_FILES := \
61179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger  iw.c genl.c event.c info.c phy.c \
71179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger  interface.c ibss.c station.c survey.c util.c ocb.c \
81179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger  mesh.c mpath.c mpp.c scan.c reg.c \
91179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger  reason.c status.c connect.c link.c offch.c ps.c cqm.c \
101179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger  bitrate.c wowlan.c coalesce.c roc.c p2p.c vendor.c \
111179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger  sections.c
1208620177f7d0aa706359fc6fa2c1f8477c133041Johannes Berg
1308620177f7d0aa706359fc6fa2c1f8477c133041Johannes BergLOCAL_CFLAGS += -DCONFIG_LIBNL20
142af129ead0104bc925504169300945e26bd6ccb9Andreas Gampe
152af129ead0104bc925504169300945e26bd6ccb9Andreas Gampe# Silence some warnings for now. Needs to be fixed upstream. b/26105799
162af129ead0104bc925504169300945e26bd6ccb9Andreas GampeLOCAL_CFLAGS += -Wno-unused-parameter \
172af129ead0104bc925504169300945e26bd6ccb9Andreas Gampe                -Wno-sign-compare \
182af129ead0104bc925504169300945e26bd6ccb9Andreas Gampe                -Wno-format
192af129ead0104bc925504169300945e26bd6ccb9Andreas GampeLOCAL_CLANG_CFLAGS += -Wno-enum-conversion
202af129ead0104bc925504169300945e26bd6ccb9Andreas Gampe
2108620177f7d0aa706359fc6fa2c1f8477c133041Johannes BergLOCAL_LDFLAGS := -Wl,--no-gc-sections
2258714c471e7635d44ac4cf391198c6aca7cfadebFilipe BrandenburgerLOCAL_MODULE_TAGS := debug
23aa24a0a0d7dba666349d2138fc6b2fda5287b55dFilipe BrandenburgerLOCAL_STATIC_LIBRARIES := libnl
2408620177f7d0aa706359fc6fa2c1f8477c133041Johannes BergLOCAL_MODULE := iw
2508620177f7d0aa706359fc6fa2c1f8477c133041Johannes Berg
261179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe BrandenburgerLOCAL_MODULE_CLASS := EXECUTABLES
271179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe BrandenburgerLOCAL_GENERATED_SOURCES := $(local-generated-sources-dir)/version.c
281179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger$(LOCAL_GENERATED_SOURCES) : $(LOCAL_PATH)/version.sh
291179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger	@mkdir -p $(dir $@)
301179fd8dff9668cf12f32036d1e011bf1ee71f74Filipe Brandenburger	$(hide) $< $@
3108620177f7d0aa706359fc6fa2c1f8477c133041Johannes Berg
3208620177f7d0aa706359fc6fa2c1f8477c133041Johannes Berginclude $(BUILD_EXECUTABLE)
33