[OpenWrt-Devel] package libcoap for OpenWRT, Makefile
Baptiste Clenet
bapclenet at gmail.com
Wed Aug 5 09:03:00 EDT 2015
2015-08-05 14:58 GMT+02:00 Yousong Zhou <yszhou4tech at gmail.com>:
> On 5 August 2015 at 16:09, Baptiste Clenet <bapclenet at gmail.com> wrote:
>>
>> define Build/Compile
>> $(MAKE) -C $(PKG_BUILD_DIR) \
>> $(TARGET_CONFIGURE_OPTS) \
>> CFLAGS="$(TARGET_CFLAGS) -I$(PKG_BUILD_DIR)" \
>> CPPFLAGS="$(TARGET_CPPFLAGS) -I$(PKG_BUILD_DIR)" \
>> LDFLAGS="$(TARGET_LDFLAGS) -L$(PKG_BUILD_DIR) -lcoap"
>> endef
>>
>
> Ahh, this should be the cause. Just dropping this section then the
> package should compile.
>
> yousong
Yes it was, thanks!
Could give details why it didn't work then?
If I am right, the compilation is done by libcoap itself so we don't
need Build/Compile?
It's not totally clear for me.
--
Baptiste
_______________________________________________
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