summaryrefslogtreecommitdiffstats
path: root/package/jsoncpp/jsoncpp.mk
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-29 19:33:18 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-30 23:39:01 +0200
commit59e19c7e243c09513b5e133446691cdd68101475 (patch)
tree09343c644067df1f8446114fc6489e54e8d747c6 /package/jsoncpp/jsoncpp.mk
parent48296c5afd24cb7f81693fef70881b9737b55062 (diff)
downloadbuildroot-59e19c7e243c09513b5e133446691cdd68101475.tar.gz
buildroot-59e19c7e243c09513b5e133446691cdd68101475.zip
pkg-generic: refactor the "Downloading" message logic
In the .stamp_downloaded hook, the logic to decide whether or not to display the "Downloading" message is treating the check of <pkg>_SOURCE as a special case. But in fact, there is no real reason to do so: the existing loop used for <pkg>_PATCH and <pkg>_EXTRA_DOWNLOADS could work just as well. This commit therefore refactors this piece of code, to have a single loop checking <pkg>_SOURCE, <pkg>_PATCH and <pkg>_EXTRA_DOWNLOADS. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'package/jsoncpp/jsoncpp.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud