diff options
Diffstat (limited to 'core/host_executable.mk')
-rw-r--r-- | core/host_executable.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/host_executable.mk b/core/host_executable.mk index 93d3f10..ab0f8f3 100644 --- a/core/host_executable.mk +++ b/core/host_executable.mk @@ -13,7 +13,21 @@ ifeq ($(strip $(LOCAL_MODULE_SUFFIX)),) LOCAL_MODULE_SUFFIX := $(HOST_EXECUTABLE_SUFFIX) endif +$(call host-executable-hook) + +skip_build_from_source := +ifdef LOCAL_PREBUILT_MODULE_FILE +ifeq (,$(call if-build-from-source,$(LOCAL_MODULE),$(LOCAL_PATH))) +include $(BUILD_PREBUILT) +skip_build_from_source := true +endif +endif + +ifndef skip_build_from_source + include $(BUILD_SYSTEM)/binary.mk $(LOCAL_BUILT_MODULE): $(all_objects) $(all_libraries) $(transform-host-o-to-executable) + +endif # skip_build_from_source |