diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-12-27 16:25:21 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-12-27 16:25:21 +0100 |
commit | 524f68ce8f4b8b5f6c69abec5c5f06fa51661ed9 (patch) | |
tree | f83b2e021def937542ec60eeb8b1f95f85cebfaf | |
parent | eaed2075d9d07e230779e2d5cc8cb509f43c98de (diff) | |
download | hardware_tinyalsa-audio-replicant-4.2-0003.zip hardware_tinyalsa-audio-replicant-4.2-0003.tar.gz hardware_tinyalsa-audio-replicant-4.2-0003.tar.bz2 |
Target-specific Yamaha-MC1N2-Audio path and devicereplicant-4.2-0004replicant-4.2-0003replicant-4.2-0002replicant-4.2-0001replicant-4.2
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r-- | Android.mk | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -44,15 +44,14 @@ LOCAL_SHARED_LIBRARIES := \ ifeq ($(strip $(BOARD_USE_YAMAHA_MC1N2_AUDIO)),true) LOCAL_CFLAGS += -DYAMAHA_MC1N2_AUDIO - LOCAL_C_INCLUDES += hardware/yamaha-mc1n2-audio/include LOCAL_SHARED_LIBRARIES += libyamaha-mc1n2-audio - ifeq ($(TARGET_DEVICE),galaxys2) - LOCAL_CFLAGS += -DYAMAHA_MC1N2_AUDIO_DEVICE=\"galaxys2\" - endif - ifeq ($(TARGET_DEVICE),n7000) - LOCAL_CFLAGS += -DYAMAHA_MC1N2_AUDIO_DEVICE=\"galaxys2\" + ifeq ($(TARGET_YAMAHA_MC1N2_AUDIO_PATH),) + TARGET_YAMAHA_MC1N2_AUDIO_PATH := hardware/yamaha-mc1n2-audio endif + + LOCAL_C_INCLUDES += $(TARGET_YAMAHA_MC1N2_AUDIO_PATH)/include + LOCAL_CFLAGS += -DYAMAHA_MC1N2_AUDIO_DEVICE=\"$(TARGET_YAMAHA_MC1N2_AUDIO_DEVICE)\" endif LOCAL_PRELINK_MODULE := false |