Won't this break iw build with earlier Android trees? Did you test this on something like KK? On Fri, Jul 31, 2015 at 12:47 AM, Filipe Brandenburger <filbranden@xxxxxxxxxx> wrote: > The latest AOSP refers to that library as libnl and not libnl_2. > > TEST=Built AOSP tree with this patchset, tested the generated iw binary. > > Signed-off-by: Filipe Brandenburger <filbranden@xxxxxxxxxx> > --- > v2: Removed now redundant LOCAL_C_INCLUDES as suggested by Elliott. > Retested to confirm it still builds and works as intended. > > Android.mk | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/Android.mk b/Android.mk > index 735b236809ef..03bcc3e93d4d 100644 > --- a/Android.mk > +++ b/Android.mk > @@ -9,15 +9,11 @@ include $(LOCAL_PATH)/Makefile > > LOCAL_SRC_FILES := $(patsubst %.o,%.c,$(OBJS)) android-nl.c > > -LOCAL_C_INCLUDES := \ > - $(LOCAL_PATH) \ > - external/libnl-headers/ > - > LOCAL_CFLAGS += -DCONFIG_LIBNL20 > LOCAL_LDFLAGS := -Wl,--no-gc-sections > #LOCAL_MODULE_TAGS := optional > LOCAL_MODULE_TAGS := eng > -LOCAL_STATIC_LIBRARIES := libnl_2 > +LOCAL_STATIC_LIBRARIES := libnl > LOCAL_MODULE := iw > > $(IW_SOURCE_DIR)/version.c: > -- > 2.5.0.rc2.392.g76e840b > -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html