Skip to content

Commit

Permalink
By pass the implicit makefile rule for compiling .S
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil committed Jan 17, 2025
1 parent 251ca05 commit 0d4929c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions proofs/hol_light/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,7 @@ OBJ = $(POINT_OBJ) $(BIGNUM_OBJ)
# https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms,
# x18 should not be used for Apple platforms. Check this using grep.

%.o : $(SRC_ARM)/%.S
%.o :
$(OBJ): %.o : $(SRC_ARM)/%.S
$(Q)[ -d $(@D) ] || mkdir -p $(@D)
cat $(SRC_ARM)/$@ | $(PREPROCESS) | $(SPLIT) | grep -v -E '^\s+.quad\s+0x[0-9a-f]+$$' | $(ASSEMBLE) -o $@ -
$(OBJDUMP) $@ | ( ( ! grep --ignore-case -E 'w18|[^0]x18' ) || ( rm $@ ; exit 1 ) )
Expand Down

0 comments on commit 0d4929c

Please sign in to comment.