From patchwork Tue Nov 10 05:31:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 1397309 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::d37; helo=mail-io1-xd37.google.com; envelope-from=swupdate+bncbctyrthe4edrbt6lvd6qkgqeughmoiq@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=KZ3ryCu6; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=iaXKEjby; dkim-atps=neutral Received: from mail-io1-xd37.google.com (mail-io1-xd37.google.com [IPv6:2607:f8b0:4864:20::d37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CVc1d3rwhz9sSn for ; Tue, 10 Nov 2020 16:32:03 +1100 (AEDT) Received: by mail-io1-xd37.google.com with SMTP id e21sf7472678iod.5 for ; Mon, 09 Nov 2020 21:32:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1604986320; cv=pass; d=google.com; s=arc-20160816; b=SA3d781X9rsVpOqtJNIeNgJRNtzfE2muRIw1RhJV0PA9eWRNbK20+Y8x26XQ1OTYZI wRYV7ymkuTA+Ndm14QD2ZciRbBNBinIYYVjA+EMfh+rI5eQyufH6rvw62CeXj2BbC417 wkvwszKN5HJgB1wDbl7FdiRuceYikBhJzmUVXj2XxHC/5AlxR6NP0LUfd+LWBwaOlSQN pzstioMZl0rOuv6rkFeYAlm7LUF/VRtPMlaIF3VG0KiG+w4t0ZHcJkxvj1ClmzMgM/T0 0xowjxhuLbWoNs70yxgFDSH+vqRekQCni7ltzmIhYD2Zq1W9ccua8dnkyNs0T0dJ+fkO Pgsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature:dkim-signature; bh=dmKIALdnqE1NTEEjfqQLsq6i/5dAsZiHLioLJTv2z6s=; b=LMf59RAYy/hlsJ83VL6O19KIM+oSs602YiyJK54X6fqxoyUOes/F3zoWT+NlIGuDaC ifguFxYqYMtj+Tyolzcgp6ePm8RH4EJ2wlrui/Ti4WTlLjZjyZiVbw/zUxSsNBG5/hX+ 6nbo4vaiSlY17G851vRvmZ+Sg6qrz7wry2K9NujqDvZzGgoLpFzVhSA3+uqw8WZwx3eF 36o4S9TdXn2Arq/ujkUVbtY/SzycfInz8UQg/xGIWlO1zQIGfvS/J7c2D5fFvPpHr9Vo kEu9CfG2vt3nD9swQdLsoAcuSW7/6cTIENrqz8z+eHTzYN0HeKVEZPd/+ZtI40SCcH4g OXrQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AToi6Chp; spf=pass (google.com: domain of raj.khem@gmail.com designates 2607:f8b0:4864:20::543 as permitted sender) smtp.mailfrom=raj.khem@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=dmKIALdnqE1NTEEjfqQLsq6i/5dAsZiHLioLJTv2z6s=; b=KZ3ryCu6+0yB0z177UyWi3Pll3Erz77//qIui8oRdzF6lMVtTx+pUw8PkaBFVqB3XB BmnHtMt0FoFBpZx34D/vYYLjE+pdQrMn/U4Gfk+s8zXVBENIpZthOsBglvOM7sXlEAbC ILj2Clm2Pqm4aSZrViL+aoLtLz8TrjltGVUAWq1tx9kSXAPBTsO0D7HIL0V+vROuNSSP T9xiZ/1Y4SC8fwZvSqsmlIm7pnIao2R4S5FXDqdCO4zZCTix4z7zV7fMt7aHpZZuTj6v PUh+0RsnXcvre1bc2du48z4RulNRaC2DtM+OJpNKm6DhKa+iRjrmaAqUhwzcc8hrqNpf 8ZAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=dmKIALdnqE1NTEEjfqQLsq6i/5dAsZiHLioLJTv2z6s=; b=iaXKEjbywv1WZOfVEjWHPL7AGIQTHWYJUlYrvkAEAW9hGmUgubie8WrEVsQuD/AY+h mgzLiDqjoL5UFdgR0ycJ36Ix4K2TRGIkLRaMW5RiVTstNFKS78m25T5j4yYcDNFEz7Kr SfhcXcum+X/7L+jp8zuiDkGglGIs1Q6VdOezrB2nBslfIs3xa4Sdzxfw2y0LOFrPxOt7 KxGN6SqUoT+xDhEfB2tNho7qaXOR35m/dYlBwj/hIk2nt6Vziv7KrbsE0FPw9H1GeAAw 4TmAkkYtdiza3Jj3g3iMQ8bbdxCMuC087jePaaPNH7RH8iSXahMB0R7wG2mb3ZrMjtOy b79A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=dmKIALdnqE1NTEEjfqQLsq6i/5dAsZiHLioLJTv2z6s=; b=b25yhAKQv6u69EERT+0X8IEZhhn/RB+QwSgyYjtSACcbRLAJdBSoFqbwoKwkOROj1B xouekL50AMY+UNV3DTTsUZVOmgAF8b6WVrhVVCwsCoi2fEnQF7GxOdmb22VfRH63VXL8 r4BrUNewCou+x6j6CcJBh6gdEtwrL7ejKdG9WUbdduhFCTY7a+SGl3VX32mYdoYO3iMV hhukfEkcefEcuByHKYoAlmT6ejNiabRv8Lpnxe38bxKJ7E+TcydI7uBF0wSYSy2ZJ5U2 V25A68xz/FOI0mCa3cFr8l3J/qzT7Zeh0CulLe8ovo50oTy7ZDIWsKaeKASnhNbHBQXi /B/A== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM530GLb+2pbW4SN1MGpofkZ2wBJx+eW/VXio1BKIZjruWTFkpD2TK n3Sx1O27CyuvjFd2MnmobZc= X-Google-Smtp-Source: ABdhPJzmFnpPGcCGJJIiSAh5nq+MujL602vpF4TzSbCelYq1r5xZTRBGZkFZyGKRhK5bZGyE3E4ssA== X-Received: by 2002:a6b:920b:: with SMTP id u11mr12774814iod.191.1604986320361; Mon, 09 Nov 2020 21:32:00 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a6b:f90c:: with SMTP id j12ls1612444iog.7.gmail; Mon, 09 Nov 2020 21:31:59 -0800 (PST) X-Received: by 2002:a5e:8206:: with SMTP id l6mr12578957iom.126.1604986319519; Mon, 09 Nov 2020 21:31:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604986319; cv=none; d=google.com; s=arc-20160816; b=Hf0afeoiexnHZPV94gWDhfS/ut+8fo/4+pp1xADeikdaiOn8t8rfWjYwnBLxu12E5H Csc19FlIMaVQZa6vltc9+V5JO3rJ2h8wxtSyxseP+sj7dMDatrFKvW+FyXV9GmculDhg N4y8I/9438Tj12D2azhOwOzXY7V3/i08WMbwvQ34guFt81REIjiPUldDltcbN32z4Xsd fZganqkmLK/NEPl5a7cBAQYMkbl2g/A2DV+BsDyqGRXKzc06i1fPcbjJnH/Bhaz7GDNZ GADHz3Io7lKwXF0Z0Wn/1yGB/5lG9jWcC06xjdlR9RH6CHN+aBAu4L4hdR1VLi+ZmtBr wemg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=1GKX00eXah80wRekdXQ+ZRb05mEw94dKhPOxZKnu9XA=; b=0N2gXaD9DdHkXX6l+9e5g16Lc0KYQJrbdyLHIovW+tFO/L/c0gVAgT4ob11uJqh6CW 6F2rVzEh/Zfyxl1S0lQmlDyoZ+H3aL3bO/9IxhBQWozk4gusuF1P//dne9pFapszuNCY 2FQDximd/jSdjstRZfQwSLYTKiKNce1iRAyPnUYM7hIMhJ1YZyCuFpDnGCITw8oTAj3J T/m7gecPfxp9fCG8O0Q6lWDyunqTzWKuMWdKpSjlYe95kQiEfhvlVW6BAhTtDErpkL2G uOn6PZrwZrWu96YFIwxsU6dOu/PSX/ZIa1oisEhPweBqy2xodAPsrVPVWhAwmANfbqhZ 5oPg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AToi6Chp; spf=pass (google.com: domain of raj.khem@gmail.com designates 2607:f8b0:4864:20::543 as permitted sender) smtp.mailfrom=raj.khem@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com. [2607:f8b0:4864:20::543]) by gmr-mx.google.com with ESMTPS id d25si706018ioz.2.2020.11.09.21.31.59 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Nov 2020 21:31:59 -0800 (PST) Received-SPF: pass (google.com: domain of raj.khem@gmail.com designates 2607:f8b0:4864:20::543 as permitted sender) client-ip=2607:f8b0:4864:20::543; Received: by mail-pg1-x543.google.com with SMTP id i7so9176962pgh.6 for ; Mon, 09 Nov 2020 21:31:59 -0800 (PST) X-Received: by 2002:a17:90a:c693:: with SMTP id n19mr3235127pjt.69.1604986318694; Mon, 09 Nov 2020 21:31:58 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::740e]) by smtp.gmail.com with ESMTPSA id m8sm6426458pgg.1.2020.11.09.21.31.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 21:31:58 -0800 (PST) From: Khem Raj To: swupdate@googlegroups.com Cc: Khem Raj Subject: [swupdate] [meta-swupdate][PATCH] swupdate: Disable partition algorith when LTO is enabled Date: Mon, 9 Nov 2020 21:31:52 -0800 Message-Id: <20201110053152.64411-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Original-Sender: raj.khem@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AToi6Chp; spf=pass (google.com: domain of raj.khem@gmail.com designates 2607:f8b0:4864:20::543 as permitted sender) smtp.mailfrom=raj.khem@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , -flto-partition=none is needed when building with -flto Use += to add libconfig to depends, so it does not overwrite the programmatically added dependencies Signed-off-by: Khem Raj --- recipes-support/swupdate/swupdate.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index eb682aa..51befed 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -1,7 +1,7 @@ SUMMARY="Image updater for Yocto projects" DESCRIPTION = "Application for automatic software update from USB Pen" SECTION="swupdate" -DEPENDS = "libconfig" +DEPENDS += "libconfig" # SWUpdate licensing is described in the following pages: # https://sbabic.github.io/swupdate/licensing.html @@ -30,6 +30,8 @@ SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=https \ file://90-start-progress \ " +LTOEXTRA += "-flto-partition=none" + PACKAGES =+ " \ ${PN}-client \ ${PN}-lua \