Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0eba102f authored by Kelvin Zhang's avatar Kelvin Zhang
Browse files

Allow map_file_generator to use host tools

map_file_generator need to invoke binaries such as `unsquashfs` .
These binaries are built from android source tree, so add host binary
output directory to PATH variable so that map_file_generator can use
these binaries.

Test: th
Bug: 286870582
Change-Id: I56634293ee885fc4612627578a22cdf57bc13bfc
parent 0fd96513
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5894,7 +5894,9 @@ endef
define copy-image-and-generate-map
  mkdir -p $(2)
  cp $(1) $(2)
  $(if $(3),$(HOST_OUT_EXECUTABLES)/map_file_generator $(1) $(2)/$(3))
  $(if $(3),
    UNSQUASHFS=$(HOST_OUT_EXECUTABLES)/unsquashfs $(HOST_OUT_EXECUTABLES)/map_file_generator $(1) $(2)/$(3)
  )
endef

# By conditionally including the dependency of the target files package on the