libmraa: board detection was broken after the name changed
authorJohn Crispin <[email protected]>
Fri, 6 Nov 2015 21:34:59 +0000 (22:34 +0100)
committerJohn Crispin <[email protected]>
Fri, 6 Nov 2015 21:38:57 +0000 (22:38 +0100)
Signed-off-by: John Crispin <[email protected]>
libs/libmraa/patches/0002-add-mips-support.patch

index 66219b9fe50624cf084228f22a72f75a33cc94fe..ee4569631d4d5c93e1197a752f4125cf4da09d5d 100644 (file)
@@ -462,7 +462,7 @@ Signed-off-by: John Crispin <[email protected]>
 +    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;
 +                }
 +            }