cml1: fix tasks after default [dirs] changed

Message ID 1469734824-3351-1-git-send-email-ross.burton@intel.com
State Accepted
Commit 614d976ee97d6386c37afb54add5b83741ca401e
Headers show

Commit Message

Ross Burton July 28, 2016, 7:40 p.m.
These tasks relied upon [dirs] being ${B} by default.  As the functions are not
simple, add back [dirs] so they work again.

[ YOCTO #10027 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/classes/cml1.bbclass | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.7.4 (Apple Git-66)

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/classes/cml1.bbclass b/meta/classes/cml1.bbclass
index b5dc028..5834806 100644
--- a/meta/classes/cml1.bbclass
+++ b/meta/classes/cml1.bbclass
@@ -42,6 +42,7 @@  python do_menuconfig() {
 }
 do_menuconfig[depends] += "ncurses-native:do_populate_sysroot"
 do_menuconfig[nostamp] = "1"
+do_menuconfig[dirs] = "${B}"
 addtask menuconfig after do_configure
 
 python do_diffconfig() {
@@ -73,4 +74,5 @@  python do_diffconfig() {
 }
 
 do_diffconfig[nostamp] = "1"
+do_diffconfig[dirs] = "${B}"
 addtask diffconfig