Skip to content

Commit

Permalink
externals/cmsis: Add SUFFIX definition to avoid build errors
Browse files Browse the repository at this point in the history
The full path in the name sometimes caused a build error when creating
an archive because the maximum number of characters to be entered on
the command line was exceeded, and the archive file could not be created.
  • Loading branch information
SPRESENSE committed Jun 14, 2023
1 parent 8546219 commit b975299
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions externals/cmsis/dsp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,7 @@ ROOTDEPPATH := $(foreach dir,$(SUBDIRS), --dep-path $(dir))
CSRCS := $(notdir $(foreach dir,$(SUBDIRS), $(wildcard $(dir)/arm_*.c)))
ASRCS := $(notdir $(foreach dir,$(SUBDIRS), $(wildcard $(dir)/*.S)))

# No suffix for shorter file name.
SUFFIX =

include $(APPDIR)/Application.mk
4 changes: 4 additions & 0 deletions externals/cmsis/nn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ ROOTDEPPATH := $(foreach dir,$(SUBDIRS), --dep-path $(dir))
CSRCS := $(notdir $(foreach dir,$(SUBDIRS), $(wildcard $(dir)/*.c)))
ASRCS := $(notdir $(foreach dir,$(SUBDIRS), $(wildcard $(dir)/*.S)))


# No suffix for shorter file name.
SUFFIX =

include $(APPDIR)/Application.mk

0 comments on commit b975299

Please sign in to comment.