52 lines
990 B
Makefile
52 lines
990 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 ($(APP_TEST_SDMMC),1)
|
|
obj-y += sdmmc/
|
|
endif
|
|
|
|
ifeq ($(ANC_APP),1)
|
|
obj-y += anc/
|
|
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/sdmmc \
|
|
-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
|
|
|