pinebuds/apps/Makefile

53 lines
965 B
Makefile

obj-y := audioplayers/ common/ main/ key/ pwl/ battery/ factory/
ifeq ($(APP_TEST_AUDIO),1)
obj-y += apptester/
endif
ifeq ($(BTUSB_AUDIO_MODE),1)
obj-y += usbaudio/
endif
ifeq ($(BT_USB_AUDIO_DUAL_MODE),1)
obj-y += btusbaudio/
obj-y += usbaudio/
endif
ifeq ($(ANC_APP),1)
obj-y += anc/
endif
ifeq ($(WL_DET),1)
obj-y += mic_alg/
endif
ifeq ($(VOICE_DETECTOR_EN),1)
obj-y += voice_detector/
endif
ifeq ($(PC_CMD_UART),1)
obj-y += cmd/
endif
subdir-ccflags-y += -Iapps/apptester \
-Iapps/audioplayers \
-Iapps/common \
-Iapps/main \
-Iapps/cmd \
-Iapps/key \
-Iapps/pwl \
-Iapps/battery \
-Iservices/voicepath \
-Iservices/ble_app/app_datapath \
-Iutils/list \
-Iutils/heap \
-Iservices/multimedia/audio/process/filters/include
ifeq ($(BT_USB_AUDIO_DUAL_MODE),1)
subdir-ccflags-y += -Iapps/btusbaudio
endif
ifeq ($(A2DP_LDAC_ON),1)
subdir-ccflags-y += -Ithirdparty/audio_codec_lib/ldac/inc
endif