This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 42b16e300 examples: Remove unnecessary descriptions from Makefile
42b16e300 is described below
commit 42b16e300403069d719d8e39e9c0f086fbb88a3e
Author: SPRESENSE <[email protected]>
AuthorDate: Wed Jun 26 11:56:25 2024 +0900
examples: Remove unnecessary descriptions from Makefile
Remove unnecessary SDKDIR variable from some Makefiles.
And fix audio_rttl to pass cmake build.
---
examples/audio_rttl/CMakeLists.txt | 2 +-
examples/audio_rttl/Makefile | 10 ----------
examples/bmi160/Makefile | 1 -
examples/charger/Makefile | 1 -
examples/fxos8700cq_test/Makefile | 1 -
5 files changed, 1 insertion(+), 14 deletions(-)
diff --git a/examples/audio_rttl/CMakeLists.txt
b/examples/audio_rttl/CMakeLists.txt
index 1a602e54f..713549198 100644
--- a/examples/audio_rttl/CMakeLists.txt
+++ b/examples/audio_rttl/CMakeLists.txt
@@ -27,5 +27,5 @@ if(CONFIG_EXAMPLES_AUDIO_SOUND)
STACKSIZE
${CONFIG_EXAMPLES_AUDIO_SOUND_STACKSIZE}
SRCS
- audio_rttl.c)
+ audio_rttl.cxx)
endif()
diff --git a/examples/audio_rttl/Makefile b/examples/audio_rttl/Makefile
index adc416646..c644377ad 100644
--- a/examples/audio_rttl/Makefile
+++ b/examples/audio_rttl/Makefile
@@ -19,7 +19,6 @@
############################################################################
include $(APPDIR)/Make.defs
--include $(SDKDIR)/Make.defs
# Audio application info
@@ -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
diff --git a/examples/bmi160/Makefile b/examples/bmi160/Makefile
index e71a4207c..56d39eb19 100644
--- a/examples/bmi160/Makefile
+++ b/examples/bmi160/Makefile
@@ -19,7 +19,6 @@
############################################################################
include $(APPDIR)/Make.defs
--include $(SDKDIR)/Make.defs
# sixaxis built-in application info
diff --git a/examples/charger/Makefile b/examples/charger/Makefile
index 1c1c71c10..e96d4dfe8 100644
--- a/examples/charger/Makefile
+++ b/examples/charger/Makefile
@@ -19,7 +19,6 @@
############################################################################
include $(APPDIR)/Make.defs
--include $(SDKDIR)/Make.defs
PROGNAME = $(CONFIG_EXAMPLES_CHARGER_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_CHARGER_PRIORITY)
diff --git a/examples/fxos8700cq_test/Makefile
b/examples/fxos8700cq_test/Makefile
index de7448110..3cb1ccecb 100644
--- a/examples/fxos8700cq_test/Makefile
+++ b/examples/fxos8700cq_test/Makefile
@@ -19,7 +19,6 @@
#############################################################################
include $(APPDIR)/Make.defs
--include $(SDKDIR)/Make.defs
# fxos8700cq built-in application info