Signed-off-by: Denys Dmytriyenko <[email protected]>
Cc: Dan Murphy <[email protected]>
---
 recipes-bsp/boot-monitor/boot-monitor_git.bb       |  1 +
 ...-Fix-issue-with-setting-CHECK-and-VERBOSE.patch | 42 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 
recipes-bsp/boot-monitor/files/0001-makedefs-Fix-issue-with-setting-CHECK-and-VERBOSE.patch

diff --git a/recipes-bsp/boot-monitor/boot-monitor_git.bb 
b/recipes-bsp/boot-monitor/boot-monitor_git.bb
index da53867..e4ea67f 100644
--- a/recipes-bsp/boot-monitor/boot-monitor_git.bb
+++ b/recipes-bsp/boot-monitor/boot-monitor_git.bb
@@ -8,6 +8,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 DEPENDS = "u-boot-mkimage-native"
 
 SRC_URI = 
"git://git.ti.com/processor-firmware/ks2-boot-monitor.git;protocol=git;branch=${BRANCH}"
+SRC_URI += 
"file://0001-makedefs-Fix-issue-with-setting-CHECK-and-VERBOSE.patch"
 
 PV = "4.0+git${SRCPV}"
 
diff --git 
a/recipes-bsp/boot-monitor/files/0001-makedefs-Fix-issue-with-setting-CHECK-and-VERBOSE.patch
 
b/recipes-bsp/boot-monitor/files/0001-makedefs-Fix-issue-with-setting-CHECK-and-VERBOSE.patch
new file mode 100644
index 0000000..ae6d25c
--- /dev/null
+++ 
b/recipes-bsp/boot-monitor/files/0001-makedefs-Fix-issue-with-setting-CHECK-and-VERBOSE.patch
@@ -0,0 +1,42 @@
+From f22f18d426c8f5b70c0bce9ac6015c067c46f5ad Mon Sep 17 00:00:00 2001
+From: Dan Murphy <[email protected]>
+Date: Mon, 24 Apr 2017 17:02:56 -0500
+Subject: [PATCH] makedefs: Fix issue with setting CHECK and VERBOSE
+
+Within the ifndef tabs are not allowed.  These need
+to be converted to spaces.  Without this CHECK is always
+set and sparse is expected to be installed.
+
+Fixes: aba308b9868d ("Makefile: Use OBJROOT for build output to enable 
out-of-tree builds")
+Reported-by: Denys Dmytriyenko <[email protected]>
+Signed-off-by: Dan Murphy <[email protected]>
+Signed-off-by: Denys Dmytriyenko <[email protected]>
+---
+ makedefs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/makedefs b/makedefs
+index 1c4e2a5..ab710c3 100644
+--- a/makedefs
++++ b/makedefs
+@@ -58,7 +58,7 @@ ifeq ("$(origin C)", "command line")
+ endif
+ 
+ ifndef VERBOSE
+-      export VERBOSE=0
++        export VERBOSE=0
+ endif
+ 
+ ifeq ($(VERBOSE),1)
+@@ -69,7 +69,7 @@ else
+ endif
+ 
+ ifndef CHECK
+-      export CHECK=0
++        export CHECK=0
+ endif
+ 
+ Q_CC=$(Q:@=@echo      '     CC        '$@;)$(CC)
+-- 
+2.7.4
+
-- 
2.7.4

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to