From e48f0dc21b403b4f34e94c94cb401cbf9a5fd64e Mon Sep 17 00:00:00 2001
From: John Klug <john.klug@multitech.com>
Date: Thu, 25 May 2017 12:53:28 -0500
Subject: Make u-boot easier to configure for MTR

---
 recipes-bsp/multitech/mts-id-eeprom.inc | 1 +
 recipes-bsp/u-boot/u-boot_2016.09.01.bb | 7 ++++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/multitech/mts-id-eeprom.inc b/recipes-bsp/multitech/mts-id-eeprom.inc
index 824710f..5bf8076 100644
--- a/recipes-bsp/multitech/mts-id-eeprom.inc
+++ b/recipes-bsp/multitech/mts-id-eeprom.inc
@@ -6,6 +6,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 INC_PR = "r0"
 DEPENDS = "mts-io openssl"
+RDEPENDS_${PN} =+ "bash"
 
 SRCREV = "3f8c91c9cd7f9f36da061057a8445bc5809c22cc"
 
diff --git a/recipes-bsp/u-boot/u-boot_2016.09.01.bb b/recipes-bsp/u-boot/u-boot_2016.09.01.bb
index 8d209f2..3d0f4a1 100644
--- a/recipes-bsp/u-boot/u-boot_2016.09.01.bb
+++ b/recipes-bsp/u-boot/u-boot_2016.09.01.bb
@@ -4,13 +4,18 @@ DEPENDS += "dtc-native"
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-2016.09.01:"
 
 SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
-           file://mtcdt.patch \
            file://config.patch \
            file://i2c.patch \
            file://macb.patch \
            file://printeepromcrc.patch \
            file://mtpwd.patch"
 
+SRC_URI_append_mtcdt = " \
+           file://mtcdt.patch"
+
+SRC_URI_append_mtcap = " \
+           file://mtcdt.patch"
+
 SRC_URI[md5sum] = "61c628f8034477c946e173ed174efeb4"
 SRC_URI[sha256sum] = "95728e89dd476d17428f94080752ab48884be477b6a678941582aeef618b70bb"
 
-- 
cgit v1.2.3