From caa905b581caa699c5592ab84a0e7ac81cbe38a4 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 2 Sep 2014 12:09:21 -0700 Subject: [PATCH] glibc-locale: only change if TCMODE is set to us Signed-off-by: Christopher Larson --- recipes/glibc/glibc-locale_%.bbappend | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/glibc/glibc-locale_%.bbappend b/recipes/glibc/glibc-locale_%.bbappend index 2938186..c5c0655 100644 --- a/recipes/glibc/glibc-locale_%.bbappend +++ b/recipes/glibc/glibc-locale_%.bbappend @@ -1 +1,4 @@ -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +python () { + if d.getVar('TCMODE', True).startswith('external-sourcery'): + d.setVar('INHIBIT_PACKAGE_DEBUG_SPLIT', '1') +}