[Buildroot] [PATCH 3/3] graph-depends: split off get_rdepends from get_depends
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Feb 6 12:50:02 UTC 2017
Hello,
On Fri, 3 Feb 2017 21:57:45 +0100, Thomas De Schampheleire wrote:
> From: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
>
> The use of a 'rule' variable that can contain 'show-depends' or
> 'show-rdepends' is not logical if get_depends is considered as a reusable
> function from various scripts. The name of these rules are too much an
> implementation detail.
>
> Therefore, split the existing get_depends into two separate functions
> get_depends and get_rdepends, while keeping code duplication to a minimum.
>
> Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
> ---
> support/scripts/graph-depends | 6 +++---
> support/scripts/pkgutil.py | 17 +++++++++++++----
> 2 files changed, 16 insertions(+), 7 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list