From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7171400741621334016 X-Received: by 2002:a05:6870:4c16:b0:132:96be:4d67 with SMTP id pk22-20020a0568704c1600b0013296be4d67mr288657oab.22.1670935035949; Tue, 13 Dec 2022 04:37:15 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a54:4f02:0:b0:35b:dfea:7af0 with SMTP id e2-20020a544f02000000b0035bdfea7af0ls895067oiy.7.-pod-prod-gmail; Tue, 13 Dec 2022 04:37:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf7xd+eb6aLB4gxWcMHWj9ovekHQpb1Ci9/UK3ZrcP0FSIXQjIVkh7byCextT4O4thApFFhP X-Received: by 2002:aca:1119:0:b0:359:fba8:5a75 with SMTP id 25-20020aca1119000000b00359fba85a75mr8202269oir.53.1670935035452; Tue, 13 Dec 2022 04:37:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670935035; cv=none; d=google.com; s=arc-20160816; b=blZWbxLY8oIKmqPkeU74oAwbNr59ZlTNWkGcBjFVB0npuwJIO2+idWufjdaR0h5Ksa agPncDQrptIszN8s3sAMmjzbUnlsRNFs2KBDNTD2TJAWO4WEapla7HSfzFBFSDfO/zKu flLenQHKC/L2M9HA9hX5P5n1PfEO01jcSfgS9qQNsVU7sbLeQrBZjmWe5c611sSMAKCd A/UIwqo75rKE/o1bWUZgOPQ5YQQ1RaOPNF58e098YRf2JviNtKra78gmY3iWJDWzcYdV 3WcJc3FPno9/Q0mwDDnH2Cp7vb6Zx64qxLg0cfW6+OqciM5jEFp9dPcuD+BO+9s5XCrE 754Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id; bh=3yXLNM5uAnIuqt5775LeXEEZA0At6uUvHwX80OFE6FM=; b=a8wx2942sZk7zC3mUBP+rDU+CknL4HQzpMQC4kiS7NwNdPgHoL9K5ujuKWvS2RHcNW exwCSfZ/I4QVUXQbwdKSFPIzkrNiNguElFFlRkKNyKSadg5EwneVeDWPs0XUBZ21Y7Ec 6x8Db5JvjxAdBoi83RYfo6U+V+Dh7fFAOCVjj8CWewolpfyBJPNhJAnBEV/dxQD5RMxL 3uFiAxxl/IWw+d1tzFdxZUXLrNF+EjS52hjIzltkLkoYH2SeT9yOGvSHM34iZ6bg3kxo 10yKIArI0QPGJYFlUzYlyrkQoAtCenAgKDiIfbD4ZXhiL4zkyIZp5oHDBz6KK08LB2ev ZSWw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id 184-20020aca05c1000000b0035c06b99516si1292602oif.3.2022.12.13.04.37.14 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Dec 2022 04:37:15 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 2BDCb93k001077 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Dec 2022 13:37:12 +0100 Message-ID: <6e6cc6cb-ea14-f7ad-e0b1-ecf0943cd6af@ilbers.de> Date: Tue, 13 Dec 2022 15:37:08 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 1/1] add support for DEB_BUILD_OPTIONS in linux-module Content-Language: en-US To: Felix Moessbauer , isar-users@googlegroups.com Cc: jan.kiszka@siemens.com References: <20221129113656.4067503-1-felix.moessbauer@siemens.com> From: Anton Mikanovich In-Reply-To: <20221129113656.4067503-1-felix.moessbauer@siemens.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: Uua3Py5qGKp5 29.11.2022 14:36, Felix Moessbauer wrote: > This patch reworks how concurrency is induced in the build of a custom > kernel module. Previously it was controlled via a hard-coded > DEB_BUILD_OPTIONS environment variable in the rules file. This made it > impossible to inject other build profiles from the calling environment. > In addition, the variable is only intended to be set from the outside, > not within a rules file. > > Since debhelper 10, parallel builds are the default anyways, but when > overwriting the build target, manual passing of the argument is > required. Here, we now reference the standard PARALLEL_MAKE variable > which is nowadays used to control the concurrency within builds and is > also set by bitbake. > > As the only relevant task for concurrency is the build of the modules, > we just apply it there. > > Signed-off-by: Felix Moessbauer Applied to next, thanks.