From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6735330247834599424 X-Received: by 2002:adf:804d:: with SMTP id 71mr25914723wrk.3.1570533931002; Tue, 08 Oct 2019 04:25:31 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:c408:: with SMTP id v8ls1039937wrf.10.gmail; Tue, 08 Oct 2019 04:25:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwczpnsFH9sW7lAmBEvAWNaQdqo7eh1l1gj/OfvgU8BchbLEDGF/phEQbAEVqaveJiVPW2S X-Received: by 2002:a5d:4f11:: with SMTP id c17mr28031847wru.227.1570533930435; Tue, 08 Oct 2019 04:25:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570533930; cv=none; d=google.com; s=arc-20160816; b=B9pHFANxZ1tM0hVWwNZxqNzyUBpoiR70cU2zKKptVTePrPX3l9T9uii3ofQdpXaQK6 w7tcca7NBauHyjMH2PKeg8pcZiuIkQcLqLNMooMLWCbLPtGfapv0DQ98bXI7uP6N4qOK dQzyNukl/IdqAcvuD/1bttWEfudcV3XGpaZWr2ARW9lg/2RZ+0RE4AXv69rid+uN3AF8 nHdRiQuOUOnW9v160BxPC6xidOA0FIqTC13QpL+4j7NgFw4+3zUjIa+X0DXZwZcGrBNC J+MTRgS5xUtYi+7dXpsfyKJJKI7UW8nEQgO5v5EllVdCysXkxNHym1e4T3eaEyRVxoV+ oXLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=LN7MvV+eWvkab4EQfPHI3DYH66k0gNMzf45GJIsfsRI=; b=XUrFPmY4JPiYUurYVkdoteMEKYkBCUVIaQJG7RrSTd8k1iNl/u5ebG8Aan2L2r16wR FsemDZxhrsGgnGGPC2rNAlFJ79WNKYaiazFAXXxgINWFtcESMJsxZ3ED+OFQfgv7J2CL SgS4llyYa+1EVuIIsCtworGTI3CUFa4pG7H/mryqWIXGcBUSn/oeY/pvReGXNL3R999L ykxzkBbMZmkyqT89GDBIPoKSY0qKGTdQrotHLjabHBjawqss0fetbGq/VXfANEXKu3+I 2sCyX0Nn2sYRRbbgM/aZYwmT750dPB5o/wgL7+2aXtgTYC0q81B+63Pm7zRpyGD+mXAS Jv8w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id u15si126613wmc.1.2019.10.08.04.25.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Oct 2019 04:25:30 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id x98BPUkD025572 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 8 Oct 2019 13:25:30 +0200 Received: from [139.23.77.210] ([139.23.77.210]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id x98BPTPC029782 for ; Tue, 8 Oct 2019 13:25:29 +0200 Subject: Re: [PATCH] Add support for specifying package architecture using DPKG_ARCH To: "isar-users@googlegroups.com" References: <20190911084104.19625-1-konstantinos.dalamagkidis@siemens.com> <6c7eeaaa-5f26-0836-e80e-e130d1f54347@siemens.com> <20191007102042.wovptj4eagg4gqoj@yssyq.m.ilbers.de> <20191007103921.77p7mjkpn3pijmhy@yssyq.m.ilbers.de> From: Jan Kiszka Message-ID: Date: Tue, 8 Oct 2019 13:25:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <20191007103921.77p7mjkpn3pijmhy@yssyq.m.ilbers.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: edEAh50A1azO On 07.10.19 12:39, Baurzhan Ismagulov wrote: > Looking at dpkg-buildpackage(1), I see: > > -g Equivalent to --build=source,all (since dpkg 1.17.11). > > -G Equivalent to --build=source,any (since dpkg 1.17.11). > > -b Equivalent to --build=binary or --build=any,all. > > -B Equivalent to --build=any. > > -A Equivalent to --build=all. > > -S Equivalent to --build=source. > > -F Equivalent to --build=full, --build=source,binary or > --build=source,any,all (since dpkg 1.15.8). > > So, the mechanism seems to be there. The question is how to split the > processing into two steps and tell bitbake to build the "all" part once. > I think this boils down to removing the DISTRO_ARCH element from a recipe PF/workdir/stamp. BUT: we will still have the issue that a source package may build both all and some arch-specific binary packages. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux