Skip to content

Commit

Permalink
Add issue for a problem with awk on MacOS X.
Browse files Browse the repository at this point in the history
  • Loading branch information
slav-at-attachix committed Nov 17, 2023
1 parent 9f55c7a commit cd0ecda
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 cd0ecda

Please sign in to comment.