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

Commit 0105f1cc authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am 07b16c0d: Merge "collect_gpl_sources.mk: Declare rule to assemble GPL sources FORCE"

* commit '07b16c0d':
  collect_gpl_sources.mk: Declare rule to assemble GPL sources FORCE
parents f2777de6 07b16c0d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -14,8 +14,9 @@

gpl_source_tgz := $(call intermediates-dir-for,PACKAGING,gpl_source,HOST,COMMON)/gpl_source.tgz

# FORCE since we can't know whether any of the sources changed
$(gpl_source_tgz): PRIVATE_PATHS := $(sort $(patsubst %/, %, $(dir $(ALL_GPL_MODULE_LICENSE_FILES))))
$(gpl_source_tgz) : $(ALL_GPL_MODULE_LICENSE_FILES)
$(gpl_source_tgz) : $(ALL_GPL_MODULE_LICENSE_FILES) FORCE
	@echo Package gpl sources: $@
	@rm -rf $(dir $@) && mkdir -p $(dir $@)
	$(hide) tar cfz $@ --exclude ".git*" $(PRIVATE_PATHS)