1 LOCAL_PATH:= $(call my-dir) 2 3 common_src_files := \ 4 fdt.c \ 5 fdt_ro.c \ 6 fdt_wip.c \ 7 fdt_sw.c \ 8 fdt_rw.c \ 9 fdt_strerror.c \ 10 fdt_empty_tree.c \ 11 fdt_addresses.c \ 12 fdt_overlay.c 13 14 ################################################# 15 16 include $(CLEAR_VARS) 17 18 LOCAL_CFLAGS := -Wno-macro-redefined 19 LOCAL_SRC_FILES := $(common_src_files) 20 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 21 LOCAL_MODULE := libfdt 22 23 include $(BUILD_STATIC_LIBRARY) 24 25 ################################################# 26 27 28 include $(CLEAR_VARS) 29 30 LOCAL_CFLAGS := -Wno-macro-redefined 31 LOCAL_SRC_FILES := $(common_src_files) 32 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH) 33 LOCAL_MODULE := libfdt 34 35 include $(BUILD_HOST_STATIC_LIBRARY) 36 37