1 LOCAL_PATH := $(call my-dir) 2 TINYALSA_PATH := external/tinyalsa/ 3 4 include $(CLEAR_VARS) 5 6 BUILD_FM_RADIO = true 7 8 ifeq ($(BUILD_FM_RADIO), true) 9 10 # 11 ## Kerenl FM Driver Test Application 12 # 13 # 14 LOCAL_C_INCLUDES:= $(TINYALSA_PATH)/include/ 15 16 17 LOCAL_CFLAGS:= -g -c -W -Wall -O2 -D_POSIX_SOURCE 18 19 LOCAL_SRC_FILES:= \ 20 kfmapp.c 21 22 23 LOCAL_SHARED_LIBRARIES := \ 24 libtinyalsa 25 26 LOCAL_STATIC_LIBRARIES := 27 28 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 29 LOCAL_MODULE_TAGS := eng 30 31 LOCAL_MODULE:=kfmapp 32 33 include $(BUILD_EXECUTABLE) 34 35 endif # BUILD_FMAPP_ 36 37