pinebuds/apps/Makefile

53 lines
965 B
Makefile
Raw Permalink Normal View History

2022-08-15 04:20:27 -05:00
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
2022-08-15 20:30:33 -05:00
ifeq ($(WL_DET),1)
obj-y += mic_alg/
endif
2022-08-15 04:20:27 -05:00
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