1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_ARM_MODE := arm 6 7LOCAL_SRC_FILES := \ 8 dprintf.c \ 9 xprintf.c \ 10 cprintf.c \ 11 sprintf.c \ 12 malloc.c \ 13 memcmp.c \ 14 memcpy.c \ 15 memset.c \ 16 strcpy.c \ 17 strlen.c \ 18 strcmp.c \ 19 strstr.c \ 20 crypto.c \ 21 rsa.c \ 22 sha.c 23 24LOCAL_C_INCLUDES := $(call include-path-for, bootloader) 25LOCAL_C_INCLUDES += include/mincrypt 26 27LOCAL_CFLAGS := -O2 -g -W -Wall 28LOCAL_CFLAGS += -march=armv6 29 30LOCAL_MODULE := libboot_c 31 32include $(BUILD_RAW_STATIC_LIBRARY) 33