This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WLAN not building with Android JB4.2.2 for AM335xevm_sk kit

I am trying to compile the wl12xx drivers, but experience the following:

make[6]: *** No rule to make target `.git/refs/tags', needed by `/home/yixuan/advantech/RSB-4220/android_jb4.2.2/hardware/ti/wlan/mac80211/compat_wl18xx/drivers/net/wireless/ti/wl12xx/version.h'.  Stop.

I reference the thread: http://e2e.ti.com/support/embedded/android/f/509/t/305650

yet the problem persists.

How to enable Wifi and how to build the WiFi?Thanks!

 

 

 

 

  • Hi,

    it seems that the WL12xx requires the autogenerated version.h file that will use the latest git tag as the current version.
    The easiest way to fix this is to create a git repository (as mentioned in the link you provide), but you also need to create a tag so that the build system can read it:

    cd <AOSP JB 4.2.2 path>/hardware/ti/wlan/mac80211/compat_wl18xx/drivers/net/wireless/ti/wl12xx/
    git init
    git add .
    git commit -m "initial commit"
    git tag -m wl12xx_jb_4_2_2_release wl12xx_jb_4_2_2_release

    Then try to rebuild the AOSP.