mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
dtbhtool: Define both host and target libdtbimg
* The utilities need it and not defining the target library results in a missing dependency Change-Id: I745d8586a4a2cc5e3b8bdbe4a7e9dc19e1161db6
This commit is contained in:
parent
a04741b693
commit
5f70b61eec
1 changed files with 10 additions and 3 deletions
|
@ -1,12 +1,11 @@
|
|||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
# Host static library
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := dtbimg.c
|
||||
LOCAL_STATIC_LIBRARIES := libfdt
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/libdtbimg
|
||||
|
||||
LOCAL_MODULE := libdtbimg
|
||||
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
@ -32,6 +31,14 @@ LOCAL_MODULE := dtbhtoolExynos
|
|||
|
||||
include $(BUILD_HOST_EXECUTABLE)
|
||||
|
||||
# Target static library
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := dtbimg.c
|
||||
LOCAL_STATIC_LIBRARIES := libfdt
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/libdtbimg
|
||||
LOCAL_MODULE := libdtbimg
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := mkbootimg.c
|
||||
LOCAL_STATIC_LIBRARIES := libdtbimg libfdt libcrypto_static libcutils libc
|
||||
|
|
Loading…
Reference in a new issue