summaryrefslogtreecommitdiff
path: root/recipes-bsp
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-06 11:55:29 -0500
commit8254d468bd749a5aa7df3dde68b3a1175b5e23e8 (patch)
treee1e40de18820b314f5f484263ff04e9fd578134a /recipes-bsp
parentd4672b8ae8809d5314ef235a4a84a3bf6ce3b77f (diff)
downloadmeta-multitech-atmel-8254d468bd749a5aa7df3dde68b3a1175b5e23e8.tar.gz
meta-multitech-atmel-8254d468bd749a5aa7df3dde68b3a1175b5e23e8.tar.bz2
meta-multitech-atmel-8254d468bd749a5aa7df3dde68b3a1175b5e23e8.zip
Debug patch to cause dbg() function to print
Diffstat (limited to 'recipes-bsp')
-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])