summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-04-06 11:55:29 -0500
committerJohn Klug <john.klug@multitech.com>2017-04-24 11:43:22 -0500
commitcef89f77e21f1b865bd288870f62795ef17cc8c8 (patch)
tree1b63cea062e2ea3037f841c2c95295c4c7ac8fce
parent78405654d68a1a94c31e6f18fb22903163a994f4 (diff)
downloadmeta-multitech-cef89f77e21f1b865bd288870f62795ef17cc8c8.tar.gz
meta-multitech-cef89f77e21f1b865bd288870f62795ef17cc8c8.tar.bz2
meta-multitech-cef89f77e21f1b865bd288870f62795ef17cc8c8.zip
Debug patch to cause dbg() function to print
-rw-r--r--recipes-bsp/multitech/u-boot-linux-utils/dbg.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/u-boot-linux-utils/dbg.patch b/recipes-bsp/multitech/u-boot-linux-utils/dbg.patch
new file mode 100644
index 0000000..af81220
--- /dev/null
+++ b/recipes-bsp/multitech/u-boot-linux-utils/dbg.patch
@@ -0,0 +1,15 @@
+# Set the debug flag for the build so we can monitor
+# what is going on.
+diff --git a/configure.in b/configure.in
+index 8fdc9ef..7a2eb01 100644
+--- a/configure.in
++++ b/configure.in
+@@ -15,7 +15,7 @@ required header missing]))
+
+ AC_CHECK_LIB([z], [crc32], [], AC_MSG_ERROR([libz is required]))
+
+-AC_DEFINE([DEBUG], 0, [set to 1 to enable debug])
++AC_DEFINE([DEBUG], 1, [set to 1 to enable debug])
+ AC_DEFINE([MTD_ENV1], "/dev/mtd3", [set to the first u-boot env mtd])
+ AC_DEFINE([MTD_ENV2], "/dev/mtd4", [set to the second (redundant) u-boot env mtd])
+ AC_DEFINE([MTD_SIZE], 0x20000, [size of u-boot env mtd])