projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60baa2c
)
libmraa: board detection was broken after the name changed
author
John Crispin
<
[email protected]
>
Fri, 6 Nov 2015 21:34:59 +0000
(22:34 +0100)
committer
John 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
patch
|
blob
|
history
diff --git
a/libs/libmraa/patches/0002-add-mips-support.patch
b/libs/libmraa/patches/0002-add-mips-support.patch
index 66219b9fe50624cf084228f22a72f75a33cc94fe..ee4569631d4d5c93e1197a752f4125cf4da09d5d 100644
(file)
--- 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 <
[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;
+ }
+ }