To resolve this, can you apply this patch. Based in this 
commit<https://github.com/pandigital/android_hardware_libhardware_legacy/commit/ded39b2117380340dd92c04504cda863b31ca217>
:

In ~/hardware/libhardware_legacy/wifi/Android.mk.

Find this line:

LOCAL_SRC_FILES += wifi/wifi.c

And replace by:

ifeq ($(TARGET_CUSTOM_WIFI),)
LOCAL_SRC_FILES += wifi/wifi.c
else
LOCAL_SRC_FILES += $(TARGET_CUSTOM_WIFI)
endif

Add to your BoardConfig.mk:

TARGET_CUSTOM_WIFI := ../../device/vendor/codename/wifi/codename_wifi.c

You can see an example of its use here: 
https://github.com/PantechDevTeam/android_device_pantech_presto

El sábado, 9 de marzo de 2013 16:18:50 UTC+1, M. Ignacio Fernández López 
escribió:
>
> Hello:
>
> I need to create a module, which during the compilation, replace the file: 
> hardware/libhardware_legacy/wifi/wifi.c, by a modified wifi.c in my device 
> tree.
>
> Thanks for listening.
>

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to