2 Build iwconfig

V0.0.1

2.1 Histroy

  • 2014-03-14, rayoslee, release V0.0.1

2.2 FAQ

  1. How to build iwconfig in Skyeye’s kernel?
    • tar -xzvf wireless_tools.29.tar.gz in your BSP (like as yourBSP/applications)
    • modify Makefile
    ---PREFIX = /usr/local
    +++PREFIX = ../../initramfs/usr/
    
    ---CC = gcc
    +++TOOLCHAIN = /usr/local/arm_linux_4.2
    +++CC=$(TOOLCHAIN)/bin/arm-linux-gcc
    
    ---AR = ar
    +++AR = $(TOOLCHAIN)/bin/arm-linux-ar
    RANLIB = ranlib
    • sudo make install
      • check folder initramfs/usr/sbin includes iwconfig, iwevent, iwgetid, iwlist, iwpriv, iwspy
      • cehck folder initramfs/usr/lib includes libiw.so, libiw.so.29
    • modify initramfs/etc/profile_sd
    ---export LD_LIBRARY_PATH=./
    +++export LD_LIBRARY_PATH=./:/usr/lib
    • go to linux-2.6.35.4_fa93 and Enjoy it!!
    ./build sd