[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: Michal Orzel <michal.orzel@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 25 Oct 2023 11:26:55 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; 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=p3MRZQFvSY8VxcVapiB7E3iRoHwBIWAmuF4KdhCGKNQ=; b=g04QNoAPw5anvxGTzwmKvvAkyaHGfGsXjfgeMEyfoq9cFKa0xumAIYWCZq3CX+/N/iA7CBO2ISJN9p4rnbcgcRoDHodV7Qn0x7Ty/HUY5WWLaSbS2OOS55pT2L234n/2tkvGv8116Dc5g7rDr0LGD2Y1ZxI1XMBaMp4DGSXhizh53XOYhXGfssxV+5b3OU5R4/f0izr58L3yU00Ze2w2+KhdDh2F+G9S+h+IP4wnnD0WT8xZYOGUzUqMBxP30y8dZgqk2aujZ5C7rWdZBiCzRR+f7VlEn7gO9bWS02hek4LBsHHlLduY7nG63Yt4ir7FvSb8O70R6KLkWZLnaS7D/Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bWrqX8MsGN/6svO4Wh2Kx9vw5qjiKc0qlA7jtqfRUxIalAzzmqFOrGcCKPZyraFMbn7m1NovHqKgV+u0bXQgfR21V8A2W2PGV/n4mtjQ+xrfe98xfqDzVgJzr2e+nG5GHjkd46pilXE2w+qWe/mNnJxjY4RGyFygEmOkYY8IFJQ686UeRGydh8drqtfd3AW+aNQSINkGpuTmJJO0tfLsfgfBZ3fgWhWZNKfBd7kK3s27lL85G4UkRiAREcZ7wGDwvWmdafk9jJYl6ZzOOH5I0FgF1vjhFXJ2BxWAWXz4Yamq83Q2zken22MhPUYgs0cTM0KNmg8vgx5GGE9rqZTqeQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • 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:27:15 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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.

Jan



 


Rackspace

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