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

Commit c904e48c authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Fix dist-for-goals with no targets

Bug: 117463001
Test: m dist vts
Change-Id: I9bfe01472dcf3d3729a109e4de383d35e3af9df0
parent ac270964
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -34,7 +34,8 @@ _all_dist_src_dst_pairs :=
#       to under the dist directory.  Subdirs are ok, and will be created
#       at copy time if necessary.
define dist-for-goals
$(eval _all_dist_goals += $$(1)) \
$(if $(strip $(2)), \
  $(eval _all_dist_goals += $$(1))) \
$(foreach file,$(2), \
  $(eval src := $(call word-colon,1,$(file))) \
  $(eval dst := $(call word-colon,2,$(file))) \