[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230314130248.954196-1-nvidia@cohens.org.il>
Date: Tue, 14 Mar 2023 15:02:47 +0200
From: nvidia@...ens.org.il
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nicolas Schier <nicolas@...sle.eu>
Subject: Makefile: fix usage of kernelrelease with M=foo
Commit 1cb86b6c3136 ("kbuild: save overridden KERNELRELEASE in
include/config/kernel.release") set the command that is used for
printing the output of kernelrelease only when KBUILD_EXTMOD is not set.
Test:
make M=$PWD -s kernelversion
make M=$PWD -s kernelrelease
Should print both. Prints only kernelversion and an empty line for
kernelrelease. Included a simple patch that fixes this test.
Powered by blists - more mailing lists