[Buildroot] [git commit] support/scripts/pkg-stats: ignore more makefiles that aren't packages
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Nov 8 20:59:50 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=1aa198f7285775ad09afa0777d54d831bdce61c0
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Some packages are grouped and have a general makefile that defines
reusable variables. These makefiles have no relevant information for
pkg-stats and should be excluded.
Signed-off-by: Daniel Lang <dalang at gmx.at>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
support/scripts/pkg-stats | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index 28f5a0789c..eca638f396 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -338,16 +338,21 @@ def get_pkglist(npackages, package_list):
package_list: limit to those packages in this list
"""
WALK_USEFUL_SUBDIRS = ["boot", "linux", "package", "toolchain"]
- WALK_EXCLUDES = ["boot/common.mk",
+ WALK_EXCLUDES = ["boot/barebox/barebox.mk",
+ "boot/common.mk",
"linux/linux-ext-.*.mk",
+ "package/fftw/fftw.mk",
"package/freescale-imx/freescale-imx.mk",
"package/gcc/gcc.mk",
"package/gstreamer/gstreamer.mk",
"package/gstreamer1/gstreamer1.mk",
"package/gtk2-themes/gtk2-themes.mk",
+ "package/kf5/kf5.mk",
+ "package/llvm-project/llvm-project.mk",
"package/matchbox/matchbox.mk",
"package/opengl/opengl.mk",
"package/qt5/qt5.mk",
+ "package/qt6/qt6.mk",
"package/x11r7/x11r7.mk",
"package/doc-asciidoc.mk",
"package/pkg-.*.mk",
More information about the buildroot
mailing list