Patchwork [meta-initramfs] klcc-cross: disable more unused tasks

login
register
mail settings
Submitter Andrea Adami
Date Sept. 27, 2013, 10:05 p.m.
Message ID <1380319559-12074-2-git-send-email-andrea.adami@gmail.com>
Download mbox | patch
Permalink /patch/59097/
State Accepted, archived
Commit 832aa22f1ecddc44ea03572521af53dc8fe2f32a
Headers show

Comments

Andrea Adami - Sept. 27, 2013, 10:05 p.m.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
 meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.2.bb | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Patch

diff --git a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.2.bb b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.2.bb
index 17ae0c1..07b76d7 100644
--- a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.2.bb
+++ b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.2.bb
@@ -11,10 +11,6 @@  FILESPATH =. "${FILE_DIRNAME}/klibc-${PV}:"
 
 inherit cross
 
-do_configure () {
-    :
-}
-
 do_compile() {
     oe_runmake 'INSTALLDIR=${STAGING_DIR_TARGET}${target_libdir}/klibc' klcc
 }
@@ -23,3 +19,14 @@  do_install() {
     install -d ${D}${bindir}
     install -m 0755 klcc/klcc ${D}${bindir}/${TARGET_PREFIX}klcc
 }
+
+# disable task already run in klibc recipe
+do_configure[noexec] = "1"
+
+# disable unneeded tasks
+do_package[noexec] = "1"
+do_packagedata[noexec] = "1"
+do_package_write_ipk[noexec] = "1"
+do_package_write_rpm[noexec] = "1"
+do_package_write_deb[noexec] = "1"
+do_package_write_tar[noexec] = "1"