Patchwork gcc-package-cross.inc: Mark do_package* tasks as noexec

login
register
mail settings
Submitter Richard Purdie
Date Jan. 20, 2012, 4:20 p.m.
Message ID <1327076444.4268.8.camel@ted>
Download mbox | patch
Permalink /patch/19827/
State Accepted
Commit 6708b3e908ae383922703390ac2d39f40348e1b3
Headers show

Comments

Richard Purdie - Jan. 20, 2012, 4:20 p.m.
These tasks don't do anything, this just avoids the overhead of forking
to exec them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-package-cross.inc b/meta/recipes-devtools/gcc/gcc-package-cross.inc
index 15627e7..c872e00 100644
--- a/meta/recipes-devtools/gcc/gcc-package-cross.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-cross.inc
@@ -52,3 +52,8 @@  do_install () {
 		;;
 	esac
 }
+
+do_package[noexec] = "1"
+do_package_write_ipk[noexec] = "1"
+do_package_write_rpm[noexec] = "1"
+do_package_write_deb[noexec] = "1"