I have already built the firmware image and updated the firmware of my router. Now, I am trying to obtain CSI data from my router for that I need to cross-compile this source code:Atheros-CSI-TOOL. It already has the makefile configured and it tells to just set the environment and give the "make" command. Which I did,
I have already set the PATH to the bin directory which contains "mips-openwrt-linux-gcc", this is the output of the echo $PATH: **/Atheros_CSI_tool_OpenWRT_src/staging_dir/toolchain-mips_24kc_gcc-7.3.0_musl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games**
As you can see I have set the path for the toolchain directory.
What is the issue which is causing the problem?
Thanks in advance.
Do you mean package like the Makefile package? It was already created in the folder I cloned from the Github, here is the reference: Atheros-CSI tool, see page 9, 3rd para.
So, no I didn't create any package. and the Makefile already had environment mentioned, posting the Makefile here for reference:
Actually, I am quite new at this and haven't created any package before. I don't know how to wrap the distribution in an OpenWRT package with a Makefile, that's why I didn't create it till now. Do you think the issue is somehow related to that, in that case, I would have to learn to do it.
There's a section on using GNU autotools in Packaging guidelines here on the forums that might be helpful as well. I know that a lot of packages effectively just "wrap" the existing makefile from the upstream source.