summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-06-01 12:28:54 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-06-08 18:50:35 +0200
commit9c1d3b6325eaf4e4d41a0af9fef69202258185a9 (patch)
treef841800475e00efe6f68996fce236d7f009b21c4 /package/gcc
parent431fdde8198ff10f698ea94744ffd2f5053f9529 (diff)
downloadbuildroot-9c1d3b6325eaf4e4d41a0af9fef69202258185a9.tar.gz
buildroot-9c1d3b6325eaf4e4d41a0af9fef69202258185a9.zip
package infra: remove duplicates in dependencies list
Currently, we just use what a package declares as its dependencies. But some packages may declare the same depdency more than once. For example, php has two options to add SQL support: 'mysql' or 'mysqli', which are not exclusive. So, php.mk has mysql twice as a dependency. Although that does not cause any grievance for make, we end up generating dependency graphs where this duplicate dependency is visible. Add an intermediary variable which contains the $(sort)-ed list of the dependencies, thus eliminating any duplicates. This has the side effect of also sorting the list, which is probably good for reproducibility anyway. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud