[meta-arago] [RFC][PATCH] packagegroup-*-addons: move all remaining dev tools out of default rootfs

2019-12-19 Thread Denys Dmytriyenko
Signed-off-by: Denys Dmytriyenko 
---
 .../packagegroups/packagegroup-arago-tisdk-addons.bb  | 8 
 .../recipes-core/packagegroups/packagegroup-ti-world.bb   | 8 
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
index 14b2370c..86913bd5 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb
@@ -130,13 +130,6 @@ EXTRA_LIBS_append_ti33x = " \
 uio-module-drv \
 "
 
-DEVTOOLS = " \
-linux-libc-headers-dev \
-packagegroup-core-buildessential \
-packagegroup-core-tools-debug \
-git \
-"
-
 EXTRA_PACKAGES = " \
 nodejs \
 nodejs-npm \
@@ -192,7 +185,6 @@ EXTRA_PACKAGES_append_k2g-evm  = " pruss-lld-apps"
 RDEPENDS_${PN} = "\
 ${UTILS} \
 ${UTILS_UBOOT_FW} \
-${DEVTOOLS} \
 ${EXTRA_LIBS} \
 "
 
diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-ti-world.bb 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-ti-world.bb
index 36b3f66b..00a97470 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-ti-world.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-ti-world.bb
@@ -14,6 +14,13 @@ CHROMIUM_append_k3 = "\
 chromium-wayland \
 "
 
+DEVTOOLS = " \
+linux-libc-headers-dev \
+packagegroup-core-buildessential \
+packagegroup-core-tools-debug \
+git \
+"
+
 RDEPENDS_${PN} = "\
 packagegroup-arago-base \
 packagegroup-arago-console \
@@ -36,4 +43,5 @@ RDEPENDS_${PN} = "\
 
${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)}
 \
 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${CHROMIUM}", '', d)} \
 ${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 
'qt-opencv-opencl-opengl-multithreaded-dev', '', d)} \
+${DEVTOOLS} \
 "
-- 
2.17.1

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


[meta-arago] [master/thud][PATCH] ti-tisdk-setup: only install create-ubifs if args are provided

2019-12-19 Thread Jacob Stiffler
Signed-off-by: Jacob Stiffler 
---
 .../recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb | 14 ++
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb 
b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
index 5ef9ef8..886a8b5 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-setup/ti-tisdk-setup.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Package containing scripts to setup the 
development host and targ
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = 
"file://setup.sh;beginline=3;endline=31;md5=fc4b04a33df6d892c9f4d4a9d92b945e"
 
-PR = "r45"
+PR = "r46"
 
 BRANCH ?= "master"
 SRCREV = "42a8379fda829f34c374ddfca0242a479a84d454"
@@ -51,9 +51,15 @@ do_install () {
 
 install -m 0755 ${S}/${UBOOT_ENV} ${D}/bin/setup-uboot-env.sh
 
-sed -i -e "s|__MKUBIFS_ARGS__|${MKUBIFS_ARGS}|" \
-   -e "s|__UBINIZE_ARGS__|${UBINIZE_ARGS}|" \
-  "${D}/bin/create-ubifs.sh"
+if [ -z "${MKUBIFS_ARGS}" -o -z "${UBINIZE_ARGS}" ]
+then
+# UBIFS not supported
+rm "${D}/bin/create-ubifs.sh"
+else
+sed -i -e "s|__MKUBIFS_ARGS__|${MKUBIFS_ARGS}|" \
+   -e "s|__UBINIZE_ARGS__|${UBINIZE_ARGS}|" \
+  "${D}/bin/create-ubifs.sh"
+fi
 }
 
 FILES_${PN} += "setup.sh"
-- 
2.7.4

___
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago