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