[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [for-4.19][PATCH] build: Allow setting KBUILD_DEFCONFIG in the environment


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Wed, 25 Oct 2023 11:35:43 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+1aPaP2xjV30DPdvW0t8Nsbv/u17umbQei6iGqDYhCI=; b=hWgutBfk8hJxR2/HCmtuWwBGlBHbyF6vzkYeTuAlaWmbWnLWmaTry0gQHW0yjCMNNA0MPj2JCD5ImdVHDZz6BpRQ0yP4yu/94DBCcdveKP6XyBj7PYZtLBLKWuIjbgwOtjp2bEpGOQLimUDAmgnkzg7xcCoTroJ9S5VCQipiXR5n0ogT4LM8FEM/N7etTClcHtYvDsBc0AMpSZbuRuFCYnARr/hMKYkk60iBzQ6GvRHpVPZkG2FWWnthM/AxIEomVnltPTV5QkdnMS1DdbGGN5AIKQ2YtYdNtFq4H70X7JIvX5BEI9JdJavl1sKSfbUhuvaZ4VTUHRlC6mv6lAr0ig==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mLzaKy+8MdTG8FbxPVV7vw5fwE/bKcNYhEEsP4Nu+5TO0ZbAqCeGiMJHA341HOTmRn4MTCvm6ywkV9OF9jgLgAmLFLGmeymnIABjBoI9WKjGiP0x3PuKy3fYaXpj7CsUITtRlpiYw0kBrWG9ap20b07m3YYCXL0ZgbAc+qlrq25a3DMWtVzqLu8mPBeZqHn/NID2Eoy2vTczgMBDrcronvQMRG9UxurvzglK+vocpk0lS3+GOrClOccIw0hOyiH85sXA6+R8h/xzGt3dWkWnPjYfMirIQntTmwGwKg+tu+M6HXFAsodaIQgAD47c9JgQVyCLG2iaMYkavaf2AR+nkA==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 25 Oct 2023 09:36:22 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 25/10/2023 11:26, Jan Beulich wrote:
> 
> 
> On 25.10.2023 11:21, Michal Orzel wrote:
>> On 25/10/2023 11:10, Jan Beulich wrote:
>>> On 25.10.2023 10:28, Michal Orzel wrote:
>>>> At the moment, in order to use a different defconfig target than default,
>>>> one needs to specify KBUILD_DEFCONFIG=<target> on the command line.
>>>> Switch to weak assignment, so that it can be also obtained from
>>>> environment similar to other KCONFIG/KBUILD variables.
>>>>
>>>> This change will activate the use of KBUILD_DEFCONFIG variable in CI
>>>> build jobs that so far had no effect.
>>>
>>> I'm certainly okay with the change, but the above sentence looks misleading
>>> to me: Yes, the envvar was ignored so far, but isn't it the case that the
>>> envvar as specified in CI matches what Makefile set it to (taking into
>>> account that for RISC-V riscv64_defconfig aliases tiny64_defconfig), and
>>> hence the specifications in build.yaml could be dropped (until such time
>>> where truly an override was intended)?
>> Well, today riscv64_defconfig matches tiny64_defconfig but it can change. 
>> Otherwise, why
>> would we need to have 2 identical files? Looking at the latest full build 
>> series from Oleksi,
>> only the tiny64_defconfig file gets updated which would be the clear 
>> indication that what is
>> specified in the CI matches the author's expectation.
>>
>> Also, I never mentioned that this change fixes something. I just wrote that 
>> it gives a meaning
>> to a variable that so far had no effect.
> 
> Well, sure, but if you e.g. said "... that so far would have had no effect
> if they didn't match the default anyway", things would have been unambiguous.
Ok, I can see you did not provide any tag in which case I will wait for other's 
feedback.
Then, I can either respin the patch adding sentence you suggested or leave it 
to Stefano
to do when committing to his for-4.19 branch.

~Michal




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.