Makefile.mk: Fix int-shift-left
commit6841670e4d7cdd0b9a2d74c2133b5a742d114564
authorMaximilian Brune <maximilian.brune@9elements.com>
Mon, 8 Jul 2024 14:28:33 +0000 (8 16:28 +0200)
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>
Mon, 8 Jul 2024 22:38:27 +0000 (8 22:38 +0000)
treebb4bdb32e6469efd4b6939e4ccba70465c73fa99
parentb97ec4f0166b1b878d8d9a8d2bd82f6f0a47407c
Makefile.mk: Fix int-shift-left

commit 4a8d73d6a4 ("Makefile.mk: Remove bc dependency") broke the left
shift, since the expr tool does not support shifting operations.

This patch uses the left shift operator inside arithmetic expansion.
Every posix shell should support this.

Tested:
Build amd/birman mainboard and check that the soft-fuse parameter
doesn't change.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: If3b29dae727875b0788100a2cb02c86736ffaf8c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83377
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Makefile.mk