From ee0bb7b9df86cec0f1d7c27046c50b1fc45b7c4f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 6 Nov 2015 22:34:59 +0100 Subject: [PATCH] libmraa: board detection was broken after the name changed Signed-off-by: John Crispin --- libs/libmraa/patches/0002-add-mips-support.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libmraa/patches/0002-add-mips-support.patch b/libs/libmraa/patches/0002-add-mips-support.patch index 66219b9fe5..ee4569631d 100644 --- a/libs/libmraa/patches/0002-add-mips-support.patch +++ b/libs/libmraa/patches/0002-add-mips-support.patch @@ -462,7 +462,7 @@ Signed-off-by: John Crispin + if (fh != NULL) { + while (getline(&line, &len, fh) != -1) { + if (strncmp(line, "machine", 7) == 0) { -+ if (strstr(line, "MediaTek LinkIt Smart7688")) { ++ if (strstr(line, "MediaTek LinkIt Smart 7688")) { + platform_type = MRAA_MTK_LINKIT; + } + }