I am using AOSP Nougat source code.
I want to build avahi module for my custom hardware to support mdns. I can build it using mma command.
I want to include this module in build when I use make command.
Can anyone suggest the way to do it.
Your avahi module have an Android.mk get the LOCAL_MODULE value and put it in the PRODUCT_PACKAGES variable of your device.
Like this PRODUCT_PACKAGES += your_avahi_name .
More info on PRODUCT_PACKAGES on this page (search for PRODUCT_PACKAGES).