summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-14 19:01:56 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-02-14 19:01:56 +0100
commit6620ca8e9782dc71db978843626a9fe1858d63e3 (patch)
treed1576470f685a4840851c3c7dec030171891cff2
parentc635f4605298d703c2f7ddf6abc3210e6aa92f30 (diff)
downloadbuild-6620ca8e9782dc71db978843626a9fe1858d63e3.zip
build-6620ca8e9782dc71db978843626a9fe1858d63e3.tar.gz
build-6620ca8e9782dc71db978843626a9fe1858d63e3.tar.bz2
Add relocation packer as dependency
Relocation packer is built from source. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--core/config.mk2
-rw-r--r--core/dynamic_binary.mk1
2 files changed, 2 insertions, 1 deletions
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