diff mbox

[v2,3/3] tinycbor: add a dependency

Message ID 1471609176-3397-3-git-send-email-fabrice.fontaine@orange.com
State Accepted
Headers show

Commit Message

Fabrice Fontaine Aug. 19, 2016, 12:19 p.m. UTC
As tinycbor uses fopencookie() which is not available with the external
blackfin uclinux (UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is unset), add a
dependency on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
---
 package/tinycbor/Config.in | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/package/tinycbor/Config.in b/package/tinycbor/Config.in
index 41f0b5f..cf176e4 100644
--- a/package/tinycbor/Config.in
+++ b/package/tinycbor/Config.in
@@ -1,5 +1,7 @@ 
 config BR2_PACKAGE_TINYCBOR
 	bool "tinycbor"
+	# package uses fopencookie(), not available with this toolchain
+	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX
 	help
 	  Concise Binary Object Representation (CBOR) Library