From: "Franklin S. Cooper Jr" <[email protected]>

* Only include unshallow-repositories if the kernel being used has been
  shallowed.

Signed-off-by: Franklin S. Cooper Jr <[email protected]>
---
 .../packagegroup-arago-tisdk-amsdk-sdk-host.bb     |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk-sdk-host.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk-sdk-host.bb
index 514ccd5..61886ff 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk-sdk-host.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk-sdk-host.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to install additional scripts and applications into the 
SDK"
 LICENSE = "MIT"
-PR = "r19"
+PR = "r20"
 
 inherit packagegroup
 
@@ -11,6 +11,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 U-BOOT_SRC = "${PREFERRED_PROVIDER_virtual/bootloader}-src"
 KERNEL_SRC = "${PREFERRED_PROVIDER_virtual/kernel}-src"
 
+KERNEL_SHADOW_CLONE := "${PREFERRED_PROVIDER_virtual/kernel}"
+KERNEL_SHADOW_CLONE_ENABLED := 
"${SRCIPK_SHALLOW_CLONE_pn-${KERNEL_SHADOW_CLONE}}"
+
 TOOLS = ""
 TOOLS_omap-a15 = ""
 TOOLS_ti43x = ""
@@ -30,5 +33,6 @@ RDEPENDS_${PN} = "\
     ti-tisdk-makefile \
     ${U-BOOT_SRC} \
     ${KERNEL_SRC} \
+    
${@base_conditional('KERNEL_SHADOW_CLONE_ENABLED','true','unshallow-repositories','',d)}
 \
     tisdk-install \
 "
-- 
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to