From 6620ca8e9782dc71db978843626a9fe1858d63e3 Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Tue, 14 Feb 2017 19:01:56 +0100 Subject: Add relocation packer as dependency Relocation packer is built from source. Signed-off-by: Wolfgang Wiedmeyer --- core/config.mk | 2 +- core/dynamic_binary.mk | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/config.mk b/core/config.mk index d1a0464..1b62e94 100644 --- a/core/config.mk +++ b/core/config.mk @@ -512,7 +512,7 @@ DX := $(HOST_OUT_EXECUTABLES)/dx ZIPALIGN := $(HOST_OUT_EXECUTABLES)/zipalign$(HOST_EXECUTABLE_SUFFIX) # relocation packer -RELOCATION_PACKER := $(HOST_OUT_EXECUTABLES)/relocation_packer$(HOST_EXECUTABLE_SUFFIX) +RELOCATION_PACKER := $(BUILD_OUT_EXECUTABLES)/relocation_packer$(BUILD_EXECUTABLE_SUFFIX) FINDBUGS := /usr/bin/findbugs EMMA_JAR := /usr/share/java/emma$(COMMON_JAVA_PACKAGE_SUFFIX) diff --git a/core/dynamic_binary.mk b/core/dynamic_binary.mk index a4224cd..7fb587b 100644 --- a/core/dynamic_binary.mk +++ b/core/dynamic_binary.mk @@ -72,6 +72,7 @@ endif ifeq (true,$(my_pack_module_relocations)) # Pack relocations +$(relocation_packer_output): $(RELOCATION_PACKER) $(relocation_packer_output): $(relocation_packer_input) | $(ACP) $(pack-elf-relocations) else -- cgit v1.1