mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
pkg-stats: also parse toolchain packages
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
4100196152
commit
c0274ae8b5
@ -91,7 +91,7 @@ packages_without_hash_file=0
|
|||||||
total_patch_count=0
|
total_patch_count=0
|
||||||
cnt=0
|
cnt=0
|
||||||
|
|
||||||
for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
|
for i in $(find boot/ linux/ package/ toolchain/ -name '*.mk' | sort) ; do
|
||||||
|
|
||||||
if test \
|
if test \
|
||||||
$i = "boot/common.mk" -o \
|
$i = "boot/common.mk" -o \
|
||||||
@ -121,7 +121,12 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
|
|||||||
$i = "package/pkg-generic.mk" -o \
|
$i = "package/pkg-generic.mk" -o \
|
||||||
$i = "package/pkg-waf.mk" -o \
|
$i = "package/pkg-waf.mk" -o \
|
||||||
$i = "package/pkg-kernel-module.mk" -o \
|
$i = "package/pkg-kernel-module.mk" -o \
|
||||||
$i = "package/pkg-utils.mk" ; then
|
$i = "package/pkg-utils.mk" -o \
|
||||||
|
$i = "toolchain/toolchain-external/pkg-toolchain-external.mk" -o \
|
||||||
|
$i = "toolchain/toolchain-external/toolchain-external.mk" -o \
|
||||||
|
$i = "toolchain/toolchain.mk" -o \
|
||||||
|
$i = "toolchain/helpers.mk" -o \
|
||||||
|
$i = "toolchain/toolchain-wrapper.mk" ; then
|
||||||
echo "skipping $i" 1>&2
|
echo "skipping $i" 1>&2
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
@ -218,6 +223,11 @@ for i in $(find boot/ linux/ package/ -name '*.mk' | sort) ; do
|
|||||||
hastarget=1
|
hastarget=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if grep -E "\(toolchain-external-package\)" $i > /dev/null ; then
|
||||||
|
infratype="toolchain-external"
|
||||||
|
hastarget=1
|
||||||
|
fi
|
||||||
|
|
||||||
pkg=$(basename $i)
|
pkg=$(basename $i)
|
||||||
dir=$(dirname $i)
|
dir=$(dirname $i)
|
||||||
pkg=${pkg%.mk}
|
pkg=${pkg%.mk}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user