2012-03-26 19:38:26 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
ifdef BOARD_WLAN_DEVICE
|
|
|
|
LOCAL_CFLAGS := -DFWDUMP_$(BOARD_WLAN_DEVICE)
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := dumpstate.c utils.c
|
|
|
|
|
|
|
|
LOCAL_MODULE := dumpstate
|
|
|
|
|
2013-04-10 05:27:50 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils liblog libselinux
|
2012-03-26 19:38:26 +00:00
|
|
|
|
|
|
|
ifdef BOARD_LIB_DUMPSTATE
|
|
|
|
LOCAL_STATIC_LIBRARIES := $(BOARD_LIB_DUMPSTATE)
|
|
|
|
LOCAL_CFLAGS += -DBOARD_HAS_DUMPSTATE
|
|
|
|
endif
|
|
|
|
|
2012-06-07 23:40:01 +00:00
|
|
|
LOCAL_CFLAGS += -Wall -Wno-unused-parameter -std=gnu99
|
|
|
|
|
2012-03-26 19:38:26 +00:00
|
|
|
include $(BUILD_EXECUTABLE)
|