example: Remove all APPNAME from Makefile

which doesn't use anymore

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-04-19 22:41:22 +08:00 committed by patacongo
parent 4431d770b4
commit 0c84e22aaf
3 changed files with 5 additions and 23 deletions

View File

@ -40,12 +40,9 @@ include $(APPDIR)/Make.defs
# Audio application info
CONFIG_EXAMPLES_AUDIO_BEEP_PRIORITY ?= SCHED_PRIORITY_DEFAULT
CONFIG_EXAMPLES_AUDIO_BEEP_STACKSIZE ?= 2048
APPNAME = audio_rttl
PRIORITY = $(CONFIG_EXAMPLES_AUDIO_BEEP_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_AUDIO_BEEP_STACKSIZE)
PROGNAME = $(CONFIG_EXAMPLES_AUDIO_SOUND_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_AUDIO_SOUND_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_AUDIO_SOUND_STACKSIZE)
# Audio Example
@ -65,7 +62,4 @@ endif
CXXFLAGS += -D_POSIX
CONFIG_EXAMPLES_AUDIO_BEEP_PROGNAME ?= audio_rttl$(EXEEXT)
PROGNAME = $(CONFIG_EXAMPLES_AUDIO_BEEP_PROGNAME)
include $(APPDIR)/Application.mk

View File

@ -38,10 +38,7 @@
# sixaxis built-in application info
CONFIG_EXAMPLES_SIXAXIS_PRIORITY ?= SCHED_PRIORITY_DEFAULT
CONFIG_EXAMPLES_SIXAXIS_STACKSIZE ?= 2048
APPNAME = bmi160
PROGNAME = $(CONFIG_EXAMPLES_SIXAXIS_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_SIXAXIS_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_SIXAXIS_STACKSIZE)
@ -51,7 +48,4 @@ ASRCS =
CSRCS =
MAINSRC = sixaxis_main.c
CONFIG_EXAMPLES_SIXAXIS_PROGNAME ?= sixaxis$(EXEEXT)
PROGNAME = $(CONFIG_EXAMPLES_SIXAXIS_PROGNAME)
include $(APPDIR)/Application.mk

View File

@ -2,10 +2,7 @@
-include $(TOPDIR)/Make.defs
-include $(SDKDIR)/Make.defs
CONFIG_EXAMPLES_CHARGER_PRIORITY ?= SCHED_PRIORITY_DEFAULT
CONFIG_EXAMPLES_CHARGER_STACKSIZE ?= 2048
APPNAME = charger
PROGNAME = $(CONFIG_EXAMPLES_CHARGER_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_CHARGER_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_CHARGER_STACKSIZE)
@ -13,7 +10,4 @@ ASRCS =
CSRCS =
MAINSRC = charger_main.c
CONFIG_EXAMPLES_CHARGER_PROGNAME ?= charger$(EXEEXT)
PROGNAME = $(CONFIG_EXAMPLES_CHARGER_PROGNAME)
include $(APPDIR)/Application.mk