Makefile文件  |  37行  |  555 B

LOCAL_PATH := $(call my-dir)
TINYALSA_PATH := external/tinyalsa/

include $(CLEAR_VARS)

BUILD_FM_RADIO = true

ifeq ($(BUILD_FM_RADIO), true)

#
## Kerenl FM Driver Test Application
#
#
LOCAL_C_INCLUDES:= $(TINYALSA_PATH)/include/


LOCAL_CFLAGS:= -g -c -W -Wall -O2 -D_POSIX_SOURCE

LOCAL_SRC_FILES:= \
        kfmapp.c


LOCAL_SHARED_LIBRARIES := \
        libtinyalsa

LOCAL_STATIC_LIBRARIES :=

LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
LOCAL_MODULE_TAGS := eng

LOCAL_MODULE:=kfmapp

include $(BUILD_EXECUTABLE)

endif # BUILD_FMAPP_