projects
/
feed
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libcoap: Pass endian flags down to target
[feed/packages.git]
/
libs
/
libcoap
/
Makefile
diff --git
a/libs/libcoap/Makefile
b/libs/libcoap/Makefile
index 41d553599a63a915423280a476048e1d6e7f3a7f..8e6ef5d250324b5d42ddfcb44f2f23be00e31622 100644
(file)
--- a/
libs/libcoap/Makefile
+++ b/
libs/libcoap/Makefile
@@
-42,6
+42,10
@@
CONFIGURE_ARGS += \
--disable-examples \
--disable-documentation
+ifeq ($(CONFIG_BIG_ENDIAN),y)
+TARGET_CFLAGS += -DWORDS_BIGENDIAN
+endif
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/