3a2525cc41
Starting from GB, modules which doesn't have LOCAL_MODULE_TAGS defined (default to user tag) or which has user tag and not part of GRANDFATHERED_USER_MODULES does throgh ERROR/WARNING message. To supress these WARNING messages, we need to add optional tag. Targets tested on: msm8660_surf Tests: Did a build from scratch Change-Id: I006ae23366cf1f517f0c68f66f607be1455b4ba9
43 lines
964 B
Makefile
43 lines
964 B
Makefile
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_C_INCLUDES :=
|
|
|
|
LOCAL_MODULE:= libqsap_sdk
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_CFLAGS += -DSDK_VERSION=\"0.0.1.0\"
|
|
|
|
ifdef WIFI_DRIVER_MODULE_PATH
|
|
LOCAL_CFLAGS += -DWIFI_DRIVER_MODULE_PATH=\"$(WIFI_DRIVER_MODULE_PATH)\"
|
|
endif
|
|
|
|
ifdef WIFI_DRIVER_MODULE_ARG
|
|
LOCAL_CFLAGS += -DWIFI_DRIVER_MODULE_ARG=\"$(WIFI_DRIVER_MODULE_ARG)\"
|
|
endif
|
|
|
|
ifdef WIFI_DRIVER_MODULE_NAME
|
|
LOCAL_CFLAGS += -DWIFI_DRIVER_MODULE_NAME=\"$(WIFI_DRIVER_MODULE_NAME)\"
|
|
endif
|
|
|
|
ifdef WIFI_SDIO_IF_DRIVER_MODULE_PATH
|
|
LOCAL_CFLAGS += -DWIFI_SDIO_IF_DRIVER_MODULE_PATH=\"$(WIFI_SDIO_IF_DRIVER_MODULE_PATH)\"
|
|
endif
|
|
|
|
ifdef WIFI_SDIO_IF_DRIVER_MODULE_NAME
|
|
LOCAL_CFLAGS += -DWIFI_SDIO_IF_DRIVER_MODULE_NAME=\"$(WIFI_SDIO_IF_DRIVER_MODULE_NAME)\"
|
|
endif
|
|
|
|
LOCAL_SRC_FILES := qsap_api.c \
|
|
qsap.c
|
|
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
LOCAL_SHARED_LIBRARIES := libnetutils libutils libbinder libcutils
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|