From 94285e06794a805e50db39f80fbe7e52e1e2220f Mon Sep 17 00:00:00 2001 From: Yueyao Zhu Date: Tue, 28 Mar 2017 22:24:04 -0700 Subject: Build the dtc binary as a static executable This enables the dtc binary to be used without dependencies on shared libraries, for instance, when the binary is copied to be used in the Android kernel build process. Bug: 38007786 Test: mmm -j8 external/dtc , ldd out/host/linux-x86/bin/dtc Change-Id: Ic566104dc8064bdea12a9d3e0c442b518dc5d2ec Merged-In: Ic566104dc8064bdea12a9d3e0c442b518dc5d2ec (cherry picked from commit 9dfa11ddc415aec92f9ffed55d86cb3ba77c9a29) --- Android.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android.mk b/Android.mk index 0fad195..5863f77 100644 --- a/Android.mk +++ b/Android.mk @@ -18,6 +18,8 @@ LOCAL_SRC_FILES := \ LOCAL_STATIC_LIBRARIES := \ libfdt +LOCAL_CXX_STL := none + LOCAL_MODULE := dtc include $(BUILD_HOST_EXECUTABLE) -- cgit v1.2.3