Home | History | Annotate | Download | only in libc
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_ARM_MODE := arm
      6 
      7 LOCAL_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 
     24 LOCAL_C_INCLUDES := $(call include-path-for, bootloader)
     25 LOCAL_C_INCLUDES += include/mincrypt
     26 
     27 LOCAL_CFLAGS := -O2 -g -W -Wall
     28 LOCAL_CFLAGS += -march=armv6
     29 
     30 LOCAL_MODULE := libboot_c
     31 
     32 include $(BUILD_RAW_STATIC_LIBRARY)
     33