From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SlxPx-0006zt-IO for openembedded-core@lists.openembedded.org; Tue, 03 Jul 2012 09:21:01 +0200 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 03 Jul 2012 00:09:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,351,1309762800"; d="scan'208";a="166158087" Received: from unknown (HELO swold-mobl.bigsur.com) ([10.255.12.182]) by orsmga002.jf.intel.com with ESMTP; 03 Jul 2012 00:09:52 -0700 From: Saul Wold To: openembedded-core@lists.openembedded.org Date: Tue, 3 Jul 2012 00:09:43 -0700 Message-Id: X-Mailer: git-send-email 1.7.7.6 In-Reply-To: References: In-Reply-To: References: Subject: [CONSOLIDATED PULL 14/17] package.bbclass: Allow a package to skip per file dependency generation X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 07:21:02 -0000 From: Mark Hatle Most of the time skipping per file dependency generation is a bad idea, but when building a nativesdk or similar you may be required to pickup host dependencies. These host dependencies can not always be reconciled within the scope of other nativesdk components, so if we skip them we can facilitate this unique situation. Signed-off-by: Mark Hatle --- meta/classes/package.bbclass | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 0b98c6b..d94d32f 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1154,6 +1154,9 @@ RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps-oecore --macros ${STAGING_LI python package_do_filedeps() { import re + if d.getVar('SKIP_FILEDEPS', True) == '1': + return + pkgdest = d.getVar('PKGDEST', True) packages = d.getVar('PACKAGES', True) -- 1.7.7.6