1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_ARM_MODE := arm 6 7 LOCAL_SRC_FILES := \ 8 flash.c \ 9 poll.c \ 10 tags_partition.c \ 11 tags_revision.c \ 12 tags_serialno.c \ 13 tags_cmdline.c \ 14 gpio_keypad.c \ 15 init.c \ 16 tags.c 17 18 LOCAL_C_INCLUDES := $(call include-path-for, bootloader) 19 20 LOCAL_CFLAGS := -O2 -g -W -Wall 21 LOCAL_CFLAGS += -march=armv6 22 23 LOCAL_MODULE := libboot 24 25 include $(BUILD_RAW_STATIC_LIBRARY) 26