Open tristan-k opened 8 years ago
Well, I don't have an OpenWRT installation to test this, so if you are working on it, just provide a patch, possibly upstream to the place where you got the Makefile from.
Would love to do that, but I dont know how. You dont need to have a openwrt installation. There are instructions available on how to set up a buildroot or even a virtual machine.
It is a little off-topic to this project. Maybe ask on the project that provided the Makefile, because that seemed to be more OpenWRT focused. This project here is focused on generic Unix which has a working build environment.
Just did so, but @alibenpeng doesnt seem to be much active these days.
Try this:
remove all the patch files,and insert CFLAGS="-std=c99" \
to Makefile.
CONFIGURE_ARGS+= \ CFLAGS="-std=c99" \ --with-build-cc="$(HOSTCC)" \ --prefix="\usr"
Thank you,compile successfully by adding CFLAGS="-std=c99" \ .
I would appreciate if your could add a
Makefile
for openwrt. There is a old approach which seems to be broken. I tried pointing theMakefile
toHEAD
but the patches wont work anymore.