From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 120896059E for ; Wed, 21 Sep 2016 23:24:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u8LNO6CF032595 for ; Thu, 22 Sep 2016 00:24:06 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id YHBbttld-aGt for ; Thu, 22 Sep 2016 00:24:06 +0100 (BST) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u8LNO3aC032592 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 22 Sep 2016 00:24:04 +0100 Message-ID: <1474500243.7207.350.camel@linuxfoundation.org> From: Richard Purdie To: openembedded-core Date: Thu, 22 Sep 2016 00:24:03 +0100 X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Subject: [PATCH] uninative-tarball: Make stamp independent X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2016 23:24:07 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit The uninative tarball only contains nativesdk compoents. It should not get regenerated when MACHINE changes for example. Currently its sstate arch is also incorrect so changing SDKMACHINE results in other variants being removed from the deploy directory. This patch removes the target architecture dependencies so that deploy artefacts can overlap and it doesn't continually rebuild. This also fixes various autobuilder/release artefact issues we're having as a result of these issues. Signed-off-by: Richard Purdie diff --git a/meta/recipes-core/meta/uninative-tarball.bb b/meta/recipes-core/meta/uninative-tarball.bb index 4ead812..0dad974 100644 --- a/meta/recipes-core/meta/uninative-tarball.bb +++ b/meta/recipes-core/meta/uninative-tarball.bb @@ -18,6 +18,9 @@ INHIBIT_DEFAULT_DEPS = "1"    MULTIMACH_TARGET_SYS = "${SDK_ARCH}-nativesdk${SDK_VENDOR}-${SDK_OS}"  PACKAGE_ARCH = "${SDK_ARCH}" +PACKAGE_ARCHS = "" +TARGET_ARCH = "none" +TARGET_OS = "none"    TOOLCHAIN_OUTPUTNAME ?= "${SDK_ARCH}-nativesdk-libc"   @@ -27,16 +30,19 @@ EXCLUDE_FROM_WORLD = "1"    inherit meta  inherit populate_sdk +inherit nopackages    deltask install  deltask package  deltask packagedata +deltask populate_sysroot    do_populate_sdk[stamp-extra-info] = "${SDKMACHINE}"    SDK_DEPENDS += "patchelf-native"    SDK_PACKAGING_FUNC = "" +REAL_MULTIMACH_TARGET_SYS = "none"    fakeroot create_sdk_files() {   cp ${COREBASE}/scripts/relocate_sdk.py ${SDK_OUTPUT}/${SDKPATH}/