From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7077563473267261440 X-Received: by 2002:a05:6000:50b:b0:203:da9e:596e with SMTP id a11-20020a056000050b00b00203da9e596emr21386318wrf.382.1647939243683; Tue, 22 Mar 2022 01:54:03 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:584e:0:b0:203:8599:7254 with SMTP id i14-20020a5d584e000000b0020385997254ls186770wrf.0.gmail; Tue, 22 Mar 2022 01:54:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw107Urv9L0uh2GA1YHgD8bgNJgmFzx+vJQRi53PLlH0RDyt7k11N4NXIXEFCQm8sSnRSJr X-Received: by 2002:adf:e4c2:0:b0:204:6d8:ce9a with SMTP id v2-20020adfe4c2000000b0020406d8ce9amr10079385wrm.189.1647939242846; Tue, 22 Mar 2022 01:54:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1647939242; cv=pass; d=google.com; s=arc-20160816; b=rZiQzWcSVmepKFw9+GoFaj8Dbk+OPiDgY/N1DKNXcYKhkAqIPZwkMI6EZVy76PeuM6 C84g9MkpzAr0/S5GY2iHLpvfSStU2EOgjPp/0DLuL8G7L3D10kizeVXVSQzIApDylGoc xpP6f2qi1Fp2JI+6ByydyDbePcWgsE64uAyHjBs3zrXD6w5Y8KhOa/RnDzW7a2vFLrcx l2UoTn74+mamAISTnL7gnP6XHg6eea9kZYjp+t00kvHLa9rN82O6wz6hO27x6CxkIVnX +b+Ju9IRK5IVD+4fpUxL2rs1pQ7qm8CYq8+LZ6zWVp9dNiFp/EV73iAJBqtgPgPga9hz CdTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:document_confidentiality :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:content-class:thread-index:thread-topic:subject:cc :to:from:dkim-signature; bh=CqZRK29ERfhXE/l+GWjbzoVh0y6RGg13wkqEuqqYriM=; b=O2tOFZ9KXzakxOXYDpzDcXNdvDG7F3Jc6xVLxxBA/ZZEiccSsoZORCdhhM/8XYJ2gU 8sHPk1wbQNuAxW8xipKHrqaShfzclGRpEPMnmIt3BJEtyBMRbNkODNUEvgwI0j4tT1hC v/FsDjIGMZXt4qpd5S6A5iVzT6/SM9wbFCRacdv/A1QaEF/MZw+v9ndTM24+cm8xeEZy zi7xbTGC786urormOaCZrgFX4CaxiKWmsgZyTDAUiL0QYCAFK96G9hTaIQPa4oJcs5O3 ++2RvIwmuhpWiO03OW5l7QI6rRVFDNQQKipXpxiKrdbYCC0pP4X+k5zuEQnQFm4UNWH0 U5dA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=FI4jzbLe; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f400:fe08::627 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-am5eur03on0627.outbound.protection.outlook.com. [2a01:111:f400:fe08::627]) by gmr-mx.google.com with ESMTPS id 12-20020a056000154c00b00203dc4af53bsi1237710wry.5.2022.03.22.01.54.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2022 01:54:02 -0700 (PDT) Received-SPF: pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f400:fe08::627 as permitted sender) client-ip=2a01:111:f400:fe08::627; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=FI4jzbLe; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of felix.moessbauer@siemens.com designates 2a01:111:f400:fe08::627 as permitted sender) smtp.mailfrom=felix.moessbauer@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dptgWCNZfw1Qp6sTquKK8+0yGHtuMOkny+Vl+nRXBNWNwkG2yakuo0lHZtcHdiLMhJFvKiKwSBtQk7jXj4/ZPbkHTXO7IajRC9LBT2N1c6QmdZgmkk/zcg6H3SutzTek5uJl+Yh+KfHQmLZw0dhusTSL5do/R/RCcjkgKu4FyYtFnmKUTMAcqw+Y6Inf40inytFYYWM4w9loJZgnu76NIhwJeMlsOvftRn1mva8owfNNqtTY5NmX1eijYsbNcbKPNRbLvkS8cUtgLrTaqpG83oAwSmFvbUZssQOwGCO8mOi649bnfMHQIdApRItgatW1EvBgci9joovbOIDbffFfQg== 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=CqZRK29ERfhXE/l+GWjbzoVh0y6RGg13wkqEuqqYriM=; b=KvS2Jbb9PdJH0iWBesPsmzkoWXi8sLlV4tpBr6IGS4i4n8rvcU1dQ3V5TtPIP+vIUzqvx6wUIPmVfY+Ih3L2wyNLr4qtWF41Ce/YkmyQ9cvPNJex5VKvimTMsY0iN+X8nZi3bn5ChYXRP+0HxWc8x1fIQsGqOGiFPwNmamtmx9EEKXMrNfy9PeyLXg6oi+1+3roZjHS3oRRD+1qQvyO7L4HPre6QL/2HAzhtv67yTf7j4+IxyVeyXEbC7lYzV5yyxNRzWwlmN8/dYHbok6V4L4fn3fdnBC4oP4pvfwyzIbsC5ycfDvmugFvCiKMWCGiePJPppSzX7+6/cmeubN8cxw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CqZRK29ERfhXE/l+GWjbzoVh0y6RGg13wkqEuqqYriM=; b=FI4jzbLeLb4if6xq/MtHnUF4mNYEyH5n6Lc9iQR65fyMN+dp1uGHHgoXVCAtDUw4B7s+7VutY6M8F3Ef3FZko1ehOv1YMl01XVmKpQ6PtujfuZIRU84AoYuHmZlSWA772VA1aBThexc8vNIK5rUdEvJudR2wlOEIEsmv9VrNSxZpj7QEQA0ZXP0BHwPUXVpnV0h7VDpjqqFh/YOxUpjT8QUFk3VoVvLS4zyfYRROXAHcKFL49TMYPCVS1F8rZdf8O9kviHsIqxZDWzUi6Wlk0H+3RF2yFoWkbjIp73Tq4LYPQk/S8WQeL0sfyj7ULuMWeMGMvHgntfm82hxdf2ELpg== Received: from AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:418::19) by DB6PR1001MB1414.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:b5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.18; Tue, 22 Mar 2022 08:54:01 +0000 Received: from AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM ([fe80::192:e4a1:871c:a84d]) by AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM ([fe80::192:e4a1:871c:a84d%7]) with mapi id 15.20.5081.023; Tue, 22 Mar 2022 08:54:01 +0000 From: "Moessbauer, Felix" To: "jan.kiszka@siemens.com" CC: "isar-users@googlegroups.com" Subject: RE: [PATCH 1/1] add support to set KBUILD_BUILD_TIMESTAMP for custom kernels Thread-Topic: [PATCH 1/1] add support to set KBUILD_BUILD_TIMESTAMP for custom kernels Thread-Index: AQHYPTGsEWybE0tl8UiZd5GBuhKxm6zKFPEAgAACjNCAAAbVAIAA+biQ Content-Class: Date: Tue, 22 Mar 2022 08:54:00 +0000 Message-ID: References: <20220321144017.3684886-1-felix.moessbauer@siemens.com> <33854e3c-f3a6-b667-5e67-18c22b646619@siemens.com> In-Reply-To: Accept-Language: en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Enabled=true; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SetDate=2022-03-22T08:53:59Z; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Method=Standard; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_Name=restricted-default; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_SiteId=38ae3bcd-9579-4fd4-adda-b42e1495d55a; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_ActionId=7f321651-573c-4fbb-b694-47ce26964af5; MSIP_Label_a59b6cd5-d141-4a33-8bf1-0ca04484304f_ContentBits=0 document_confidentiality: Restricted authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e45ff582-753d-462d-9b2c-08da0be1827a x-ms-traffictypediagnostic: DB6PR1001MB1414:EE_ x-ld-processed: 38ae3bcd-9579-4fd4-adda-b42e1495d55a,ExtAddr x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BuZUoziwfRq3Y9tQpbxfe9rhG33XeNJcML9k/FuoDu5lGzvd78IlrI4dQSuMRQabpHbldLkGu27MzL2Za0sBluT3bqc589msPv8yxg3ew91fFIf1SOX4CC3ohOljVyCCDLdF7Q2nm1x0VbQKG2SizQd0sYrNmuuPcUI/fzKRSv+630en1WHEQdRQkO5KcFeZp40okf0kS3juawQ9QjQmYEYu65cyroFKd/jfwApTkQHx3m7NvXkSkCdqGVBLMtfbFruHV/ek50OgzZtRO1d12IPkQYJbNpI9oQQ+RfBhjZBeqVArZvojoBSldp9pSj3ifWbFSbYlGSoOzAxcMjDCXgbuE4YlXEhWVpOPvF/kfQaUSk13R07JxMnNfJDskltHJA/efzL/D9yGOYmrlIc3Bm68ljAVRfyrHMLHLz3g4K9lZurVUjLBaiVX0/XFtZ/oWYMKCTobFbPmQnKaFvOtpTrzQvNNOYlGNBPk0Ff6aMw8c7k6Nyz4bTqm8tJFziFzeL33A7lb0U8vFBd562vJwmLTkRTiUVqSrR9zfq0cmttYUH7XUZRpAqVc9uf9hgvVWEJToxEySHpjqGMU38DKYsohVFTRAB4VWeYdl2/VgBx/DE++KIpWm5N3AEwXUh+9NKRTdP3ZEudlzcTLGv65mZzewr9CFzzMcKLjPoawBA1hOLlf7BJlWMt54RppCcimgajnQcpTRfxwUOFQCeASj4hUwGzQ6ukIADeNGc8dWCLEk2/MXwsdxwquNMRYIPk6hzmLxBhTvZNDKie3ptUtFw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(498600001)(26005)(186003)(86362001)(71200400001)(83380400001)(33656002)(55016003)(6636002)(6862004)(66476007)(66446008)(66946007)(64756008)(66556008)(6506007)(7696005)(76116006)(2906002)(38070700005)(8676002)(52536014)(4326008)(82960400001)(122000001)(966005)(9686003)(8936002)(5660300002)(38100700002)(53546011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?iE8gimH6dzr6MKEwyEPQoNgRCzvOG0D6TAKwUuEMxmbGDQGMvD8lXhDDvSLa?= =?us-ascii?Q?zHxFC9tmHuThBDlpnBSCVVFq3uPuwnrpnbY50Mwo5ijenfsqhOsDfhY59wPd?= =?us-ascii?Q?F2NNxgT5nYJybs4n/Uo4mKVmOXs54O5o4hqaxQ+gWIA33/iBrq8PSXRkChSC?= =?us-ascii?Q?I7puevgkrPG0r571QI2LHqU6hQkl2OkK/dvoqELU3SVm3CVxEEjyr059HvG0?= =?us-ascii?Q?OTJ+LK/Qqg54Q3FmTE+c95FMNJGS127BmmFV+3+Ba8IZ2MEMx0l2q9ei4drj?= =?us-ascii?Q?28sIWbRWJJXnG7FWvGfjlHTeO958U9jIL+SXOGGzG0At4s7+qmVWDNzcctiW?= =?us-ascii?Q?hRMVYeI5FFVi5eyrI/sdW8YsdtFZ90bO93p2T2GX5jadwYAGeeAs5Dy+WVoK?= =?us-ascii?Q?NQ2lDSmxxqYHn8VsHnDQXePNyw9raZmoDysDLErLcLW1wcsHBH6hXi0qJ1hm?= =?us-ascii?Q?RB8GpVLLZdbjFN82TBWDORUWZLLdB5iBZyN0YfDufyszmt628dzJaY2jptRo?= =?us-ascii?Q?wyuKdLswN/waUDmrOP9jAnJlEEPGVXYI9nsyfjLXm61n7JxjQdamaG3xxpsT?= =?us-ascii?Q?d9hBKpHtvHVb+BrgLuR5wRVaE58jQj0FktLTVaki1eiVRSxqiL5cneCFhq7v?= =?us-ascii?Q?RlzYhLfVeUDwzGRrWeMKlwXMzS4w9vzPN2aZeNzzGZkkSY/YL6+u9uCUk1hG?= =?us-ascii?Q?t6zx6jP1dt2yhy2aFXgP1d4qbuQTiYsnjQQcNaJvNidom2rRk+6CIC4Kl1Df?= =?us-ascii?Q?sak3lvPT8LZb9OyJCOGxKvnfFeH2Fbmniz8JEPsrtnnSz2jfcIP9VwjDP4Hz?= =?us-ascii?Q?odYcDbfbOVEH/JhDSbG3m4ysDVmnjyC2k9uiD5M4Tx3LT8oo4i/K7K79w6uK?= =?us-ascii?Q?9ql7RHX4qUmpGK5zd8SRy31lyefbvvwMmAUVUpqEksiS7Q4o5LsP4ROhnwqV?= =?us-ascii?Q?04LR633GNz6BoFTqaUf7NzdeU/8OdgmnBbpDcPEixpojgfro0ZYuhC0Qd2EO?= =?us-ascii?Q?ta9w56tdzcAsJDjH5C/J8i/bjSa4LCDTZUK9iA1i4YFp3o+OIjh+Bsu50H7h?= =?us-ascii?Q?/0sS0nSJPdYltZxMJL5X8uRU/WY3u9ZqnqzJ38SgQsm9Ad/d5U4txbh0bGoH?= =?us-ascii?Q?i7Ab7EHPo+i0SXTRUTNPhzFRvqiyoUSGDr8zEpSM/26iDY08hTmeChx4mOwI?= =?us-ascii?Q?8AFAZfBBdR+APhoc2sqgRUlLzGJorkg+09DfKjmv5zMWXOmuRt9FubUQ4XVH?= =?us-ascii?Q?E5W9b72Ur/u/UfQSpe5DlRsRIrAK9aivJW3ljSnwva0uxU17v4tppY5cLcnd?= =?us-ascii?Q?Du+zOfTZThoP5qX0vo5bbZ2hnh0CmdRWvIF/wYuVu+Qd3oxbEf30QFMIDtk3?= =?us-ascii?Q?kmm5b2AUaT+BO1xmf64ueox21JTQam9MKTM+Ykeet8memF2x7DYNum0abNbr?= =?us-ascii?Q?rH8x02CaG8GORxbFHlmDUMLMkw3o6/ZGVvv4rYXwskyoaJmr9/r80Q=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM9PR10MB4869.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: e45ff582-753d-462d-9b2c-08da0be1827a X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2022 08:54:01.0654 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: A0/ZiBtRYIsf1IxBbz8uegzru7BZL9QbYD5UyXTW++o+bRjv4zjLym4NPoaZuMbkDI6c8LuG96bZlIwZfFOiCDYKizYZg6cQgQO1qJvBLgY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR1001MB1414 X-TUID: fxCGoVfF8RrG > -----Original Message----- > From: Kiszka, Jan (T CED) > Sent: Monday, March 21, 2022 6:52 PM > To: Moessbauer, Felix (T CED SES-DE) ; isar= - > users@googlegroups.com > Subject: Re: [PATCH 1/1] add support to set KBUILD_BUILD_TIMESTAMP for > custom kernels >=20 > On 21.03.22 18:33, Moessbauer, Felix (T CED SES-DE) wrote: > > Hi Jan, > > > >> -----Original Message----- > >> From: Kiszka, Jan (T CED) > >> Sent: Monday, March 21, 2022 6:18 PM > >> To: Moessbauer, Felix (T CED SES-DE) ; > >> isar- users@googlegroups.com > >> Subject: Re: [PATCH 1/1] add support to set KBUILD_BUILD_TIMESTAMP > >> for custom kernels > >> > >> On 21.03.22 15:40, Felix Moessbauer wrote: > >>> This patch adds the infrastructure to overwrite the > >>> KBUILD_BUILD_TIMESTAMP environment variable for custom kernel builds. > >>> By that, we improve the support for reproducible kernel builds. > >>> > >> > >> Agreed. > >> > >>> Setting this to a fixed string further helps to profit from ccache > >>> caching on repeated builds. > >> > >> Hmm, but the practical impact of this variable should have been > >> limited /wrt ccache. I was seeing significant build-time reduction bef= ore the > commit already. > > > > Yes, but of course depends on configuration. > > > >> > >>> > >>> Signed-off-by: Felix Moessbauer > >>> --- > >>> meta/recipes-kernel/linux/files/debian/isar/build.tmpl | 1 + > >>> meta/recipes-kernel/linux/files/debian/isar/common.tmpl | 2 ++ > >>> meta/recipes-kernel/linux/linux-custom.inc | 3 +++ > >>> 3 files changed, 6 insertions(+) > >>> > >>> diff --git a/meta/recipes-kernel/linux/files/debian/isar/build.tmpl > >>> b/meta/recipes-kernel/linux/files/debian/isar/build.tmpl > >>> index b7749cec..32d2eb23 100644 > >>> --- a/meta/recipes-kernel/linux/files/debian/isar/build.tmpl > >>> +++ b/meta/recipes-kernel/linux/files/debian/isar/build.tmpl > >>> @@ -34,6 +34,7 @@ print_settings() { # --------------- # > >>> ARCH=3D${ARCH} # CROSS_COMPILE=3D${CROSS_COMPILE} > >>> +# KBUILD_BUILD_TIMESTAMP=3D${KBUILD_BUILD_TIMESTAMP} > >>> EOF > >>> } > >>> > >>> diff --git a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl > >>> b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl > >>> index b7752fb6..ffe84745 100644 > >>> --- a/meta/recipes-kernel/linux/files/debian/isar/common.tmpl > >>> +++ b/meta/recipes-kernel/linux/files/debian/isar/common.tmpl > >>> @@ -7,6 +7,7 @@ ARCH=3D${KERNEL_ARCH} > >>> KERNEL_PKG_IMAGE=3Dlinux-image-${KERNEL_NAME_PROVIDED} > >>> KERNEL_PKG_KERN_HEADERS=3Dlinux-headers-${KERNEL_NAME_PROVIDED} > >>> KERNEL_PKG_LIBC_HEADERS=3Dlinux-libc-dev > >>> +KBUILD_BUILD_TIMESTAMP=3D"${KBUILD_BUILD_TIMESTAMP}" > >>> > >>> # Constants > >>> KCONF=3D.config > >>> @@ -36,6 +37,7 @@ main() { > >>> > >>> # variables to be exported > >>> export ARCH > >>> + export KBUILD_BUILD_TIMESTAMP > >>> > >>> # are we cross-compiling? > >>> BUILD_ARCH=3D$(dpkg-architecture -qDEB_BUILD_ARCH) diff --git > >>> a/meta/recipes-kernel/linux/linux-custom.inc > >>> b/meta/recipes-kernel/linux/linux-custom.inc > >>> index 8a5dbf82..f8e87453 100644 > >>> --- a/meta/recipes-kernel/linux/linux-custom.inc > >>> +++ b/meta/recipes-kernel/linux/linux-custom.inc > >>> @@ -33,6 +33,8 @@ KERNEL_HEADERS_DEBIAN_DEPENDS ?=3D "libc6, \ > >>> > >>> KERNEL_LIBC_DEV_DEPLOY ?=3D "0" > >>> > >>> +KBUILD_BUILD_TIMESTAMP ??=3D "LANG=3DC $(date)" > >> > >> Can't we use SOURCE_DATE_EPOCH like the rest? > > > > This variable is still not honored by the kernel (AFAIK). > > Also the kernel documentation only mentions KBUILD_BUILD_TIMESTAMP. > > There is a patch from 2015 which has not been applied [1]. > > > > We could do the mapping in ISAR, but I prefer to have it explicit. > > > > >=20 > Then how does the regular Debian kernel set a stable date? We should alig= n to > that and surely not force the user to set anything manually (that is my > interpretation of the behavior of the current patch). They set it in the rules file to "$(SOURCE_DATE)" [1], which itself is comp= uted from the changelog: SOURCE_DATE :=3D $(shell dpkg-parsechangelog -SDate) Unfortunately, this is not possible for us because we generate the changelo= g on the fly. Setting "KBUILD_BUILD_TIMESTAMP" to the current build time (as default) sho= uld be reasonable, Simply because we do not have better information. That's also how it was pr= eviously. The only addition here is do give the user support to set it to something d= ifferent. [1] https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/rules.r= eal#L46 Felix >=20 > Jan >=20 > -- > Siemens AG, Technology > Competence Center Embedded Linux