From fa5185ea275da334fccafafb5ce21dedfc02e9a2 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 10 Aug 2015 15:49:04 -0700 Subject: Add back and stop building one tool for the Mac. We can't stop building all this stuff until we clean up the build system to not require the OTA tools on Mac OS. This code does actually use htobe64 and so should have included , so put that back. Change-Id: I2807b4f237d3e26d470652f373f2de85864691c4 --- verity/Android.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'verity/Android.mk') diff --git a/verity/Android.mk b/verity/Android.mk index bbe74bb1..5db543bd 100644 --- a/verity/Android.mk +++ b/verity/Android.mk @@ -1,5 +1,7 @@ LOCAL_PATH:= $(call my-dir) +ifeq ($(HOST_OS),linux) + include $(CLEAR_VARS) LOCAL_MODULE := verify_boot_signature LOCAL_SRC_FILES := verify_boot_signature.c @@ -9,6 +11,8 @@ LOCAL_SHARED_LIBRARIES := libcrypto-host LOCAL_C_INCLUDES += external/openssl/include system/extras/ext4_utils system/core/mkbootimg include $(BUILD_HOST_EXECUTABLE) +endif # HOST_OS == linux + include $(CLEAR_VARS) LOCAL_MODULE := generate_verity_key LOCAL_SRC_FILES := generate_verity_key.c -- cgit v1.2.3