Message ID | 20230901192719.102415-1-dalang@gmx.at |
---|---|
State | Accepted |
Headers | show |
Series | [v4,1/6] support/scripts/pkg-stats: ignore more makefiles that aren't packages | expand |
On Fri, 1 Sep 2023 21:27:09 +0200 Daniel Lang <dalang@gmx.at> wrote: > 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@gmx.at> > --- > v3 -> v4: > - Added more packages to ignore list, not just llvm-project > --- > support/scripts/pkg-stats | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Applied to master, thanks. Thomas
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",
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@gmx.at> --- v3 -> v4: - Added more packages to ignore list, not just llvm-project --- support/scripts/pkg-stats | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)