Build libfdt as a static library.
am: fe315a5351
Change-Id: I6fc3749fdec028faed1a398fd017e8fac69436a3
This commit is contained in:
commit
617e812368
1 changed files with 19 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := \
|
||||
common_src_files := \
|
||||
fdt.c \
|
||||
fdt_ro.c \
|
||||
fdt_wip.c \
|
||||
|
@ -11,6 +10,24 @@ LOCAL_SRC_FILES := \
|
|||
fdt_empty_tree.c \
|
||||
fdt_addresses.c
|
||||
|
||||
#################################################
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := $(common_src_files)
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
|
||||
LOCAL_MODULE := libfdt
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
#################################################
|
||||
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := $(common_src_files)
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
|
||||
LOCAL_MODULE := libfdt
|
||||
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
|
|
Loading…
Reference in a new issue