Advertisement
4javier

Untitled

Mar 11th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. LOCAL_PATH := $(call my-dir)
  2.  
  3. include $(CLEAR_VARS)
  4.  
  5. ifeq ($(strip $(MTK_SHARED_SDCARD)),true)
  6. LOCAL_CFLAGS += -DMTK_SHARED_SDCARD
  7. endif
  8. LOCAL_SRC_FILES := sdcard.c
  9. LOCAL_C_INCLUDES := $(LOCAL_PATH)/../logwrapper/include
  10. LOCAL_MODULE := libsdcard
  11. LOCAL_CFLAGS := -Wall -Wno-unused-parameter
  12. LOCAL_MODULE_TAGS := optional
  13. LOCAL_STATIC_LIBRARIES := liblogwrap
  14. include $(BUILD_STATIC_LIBRARY)
  15.  
  16. include $(CLEAR_VARS)
  17. LOCAL_SRC_FILES := main.c
  18. LOCAL_MODULE := sdcard
  19. LOCAL_CFLAGS := -Wall -Wno-unused-parameter -Werror
  20. LOCAL_STATIC_LIBRARIES := liblogwrap libsdcard libc libcutils liblog
  21. LOCAL_FORCE_STATIC_EXECUTABLE := true
  22. include $(BUILD_EXECUTABLE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement