From cd0ecda0ffe8cb94ba3937455d1ab079ec0e0f8e Mon Sep 17 00:00:00 2001 From: Slavey Karadzhov Date: Fri, 17 Nov 2023 14:10:42 +0100 Subject: [PATCH] Add issue for a problem with awk on MacOS X. --- Sming/Components/rboot/component.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sming/Components/rboot/component.mk b/Sming/Components/rboot/component.mk index 7a88aac668..a11795b443 100644 --- a/Sming/Components/rboot/component.mk +++ b/Sming/Components/rboot/component.mk @@ -68,7 +68,7 @@ endif # determine number of roms to generate ifneq ($(RBOOT_ROM1_ADDR),) -RBOOT_TWO_ROMS := $(shell $(AWK) 'BEGIN { print (ARGV[1] % (1024*1024)) != (ARGV[2] % (1024*1024))}' $(RBOOT_ROM0_ADDR) $(RBOOT_ROM1_ADDR)) +RBOOT_TWO_ROMS := $(shell $(AWK) 'BEGIN { print ((ARGV[1] % (1024*1024)) != (ARGV[2] % (1024*1024)))}' $(RBOOT_ROM0_ADDR) $(RBOOT_ROM1_ADDR)) else RBOOT_TWO_ROMS := 0 endif