Skip to content

Commit

Permalink
Add fix for a problem with awk on MacOS X. (#2684)
Browse files Browse the repository at this point in the history
  • Loading branch information
slaff authored Nov 20, 2023
1 parent 9f55c7a commit d150f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sming/Components/rboot/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d150f95

Please sign in to comment.