< prev index next >
make/common/MakeBase.gmk
Print this page
@@ -732,10 +732,11 @@
$2: $1
$$(call LogInfo, $(strip $5) $$(patsubst $(OUTPUTDIR)/%,%,$$(call DecodeSpace, $$@)))
$$($$(strip $4))
$3 += $2
+ $3_SOURCES += $1
endef
# Returns the value of the first argument
identity = \
$(strip $1)
@@ -744,10 +745,12 @@
# processing instead of copying.
#
# Parameter 1 is the name of the rule. This name is used as variable prefix,
# and the targets generated are listed in a variable by that name.
#
+# The list of all source files is returned in $1_SOURCES.
+#
# Remaining parameters are named arguments. These include:
# SRC : Source root dir (defaults to dir of first file)
# DEST : Dest root dir
# FILES : List of files to copy with absolute paths, or path relative to SRC.
# Must be in SRC.
< prev index next >