Clang and gcc do not invoke the preprocessor on files with a lowercase .s suffix. The following addition would permit uppercase .S files. diff --git a/Makefile b/Makefile index 5a6a43b..66e9f50 100644 --- a/Makefile +++ b/Makefile @@ -133,6 +133,9 @@ endif %.o: $(ARCH)/%.s $(AS_CMD) $(CFLAGS_ALL_STATIC) +%.o: $(ARCH)/%.S + $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $< + %.o: %.c $(GENH) $(IMPH) $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $< Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation