From 24e285ce0229ed52819e2ad9a8fe9e8dda00c97c Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Wed, 27 Nov 2024 13:23:49 +0100 Subject: [PATCH] common.mak: Use '?=' assignment operator for 'CROSS_COMPILE' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the following error: $ make CROSS_COMPILE=s390x-linux-gnu- HOST_ARCH=s390x ../../../common.mak:117: *** Please specify CROSS_COMPILE=... and try it again!. Stop. $ make --version GNU Make 4.4.1 Reviewed-by: Jan Höppner Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mak b/common.mak index af1cad4f..b44c0861 100644 --- a/common.mak +++ b/common.mak @@ -48,7 +48,7 @@ export S390_TEST_LIB_PATH=$(rootdir)/s390-tools-testsuite/lib # $ make HOST_ARCH=s390x CROSS_COMPILE="s390x-linux-gnu-" # -CROSS_COMPILE = +CROSS_COMPILE ?= # # Commands can be overwritten on the command line with "make =":