As I expected, I didn't have a path right in the setup-env file, and the build.sh script wasn't using the correct cross compiler. I have since moved beyond this issue, but have found myself stuck again still in the TI build-utilities.
The build script seems to have finished building and installed things (libreg, libreg-headers, crda ...) Then I get the following:
**********************************************************
Copy original source files ...
Applying patches from patches to /home/mdubord/Design/Renesas/RZ/Wilink/build-utilites/src/compat_wireless ...
Modify Kconfig tree ...
Rewrite Makefiles and Kconfig files ...
Done!
/--------------
| Your kernel headers are incomplete/not installed.
| Please install kernel headers, including a .config
| file or use the KLIB/KLIB_BUILD make variables to
| set the kernel to build against, e.g.
| make KLIB=/lib/modules/3.1.7/
| to compile/install for the installed kernel 3.1.7
| (that isn't currently running.)
\--
make: *** [clean] Error 1
**********************************************************
I suspect this is another problem with setting up the environment. Just to be clear, I have done the following:
1. $ git clone http://git.ti.com/wilink8-wlan/build-utilities.git
2. edit setup-env
3. $./build_wl18xx.sh init
4. $ ./build_wl18xx.sh update R8.7_SP1
My setup-env is attempting to point to the RootFS and Toolchain created by buildroot as per the rskrza_bsp tutorials. It is currently set as follows:
****************************
export TOOLCHAIN_PATH=~/Design/Renesas/RZ/rskrza1_bsp/output/buildroot-2016.08/output/host/usr/bin
export ROOTFS=~/Design/Renesas/RZ/rskrza1_bsp/output/buildroot-2016.08/output/
export KERNEL_PATH=~/Design/Renesas/RZ/rskrza1_bsp/output/linux-3.14/kernel
export CROSS_COMPILE=arm-buildroot-linux-uclibcgnueabihf-
export ARCH=arm
****************************
Any insight you have would be greatly appreciated.