Skip to content

Commit

Permalink
examples: Remove unnecessary descriptions from Makefile
Browse files Browse the repository at this point in the history
Remove unnecessary SDKDIR variable from some Makefiles.
And fix audio_rttl to pass cmake build.
  • Loading branch information
SPRESENSE committed Dec 4, 2024
1 parent cda9747 commit dfa0512
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion examples/audio_rttl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ if(CONFIG_EXAMPLES_AUDIO_SOUND)
STACKSIZE
${CONFIG_EXAMPLES_AUDIO_SOUND_STACKSIZE}
SRCS
audio_rttl.c)
audio_rttl.cxx)
endif()
10 changes: 0 additions & 10 deletions examples/audio_rttl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
############################################################################

include $(APPDIR)/Make.defs
-include $(SDKDIR)/Make.defs

# Audio application info

Expand All @@ -31,13 +30,4 @@ STACKSIZE = $(CONFIG_EXAMPLES_AUDIO_SOUND_STACKSIZE)

MAINSRC = audio_rttl.cxx

# Audio Example paths

AUDIODIR = $(SDKDIR)$(DELIM)modules$(DELIM)audio

# Audio Example flags

CXXFLAGS += ${INCDIR_PREFIX}"$(AUDIODIR)"
CXXFLAGS += -D_POSIX

include $(APPDIR)/Application.mk
1 change: 0 additions & 1 deletion examples/bmi160/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
############################################################################

include $(APPDIR)/Make.defs
-include $(SDKDIR)/Make.defs

# sixaxis built-in application info

Expand Down
1 change: 0 additions & 1 deletion examples/charger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
############################################################################

include $(APPDIR)/Make.defs
-include $(SDKDIR)/Make.defs

PROGNAME = $(CONFIG_EXAMPLES_CHARGER_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_CHARGER_PRIORITY)
Expand Down
1 change: 0 additions & 1 deletion examples/fxos8700cq_test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#############################################################################

include $(APPDIR)/Make.defs
-include $(SDKDIR)/Make.defs

# fxos8700cq built-in application info

Expand Down

0 comments on commit dfa0512

Please sign in to comment.