summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])