[Buildroot] [PATCH 1/5] support/scripts/pkg-stats: allow to run script outside of the top-level directory

Peter Korsgaard peter at korsgaard.com
Wed Nov 11 11:05:41 UTC 2020


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > Currently, pkg-stats expects being executed from Buildroot's top-level
 > source directory. As we are going to extend pkg-stats to cover only
 > the packages available in the current configuration, it makes sense to
 > be able to run it from the output directory, which can be anywhere
 > compared to Buildroot's top-level directory.

 > This commit adjusts pkg-stats to this, by inferring all Buildroot
 > paths based on the location of the pkg-stats script itself.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list