[OpenWrt-Devel] package libcoap for OpenWRT, Makefile

Dirk Neukirchen dirkneukirchen at web.de
Wed Aug 5 06:57:16 EDT 2015


On 05.08.2015 10:09, Baptiste Clenet wrote:
> Hi,
> 
> I'm trying to add a package for libcoap and then compile it with my
> target Ralink MT7628.
> 
> Here is the Makefile:
> #

> 
> coap_address_t is defined in address.h inside some #ifdef (#ifdef
> WITH_LWIP or #ifdef WITH_CONTIKI or #ifdef WITH_POSIX)
> 
> I don't know if WITH_POSIX is defined.
> 
> Regards,
> 

- You can check for WITH_POSIX (or other CFLAGS etc. in config.log
- configure always sets -DWITH_POSIX in CPPFLAGS (see configure.in)
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list