04/08/2017 16:01, Ferruh Yigit:
> This is a wrapper to Linux kernel get_maintainer.pl file and only
> supports parsing MAINTAINERS file (no git fallback etc..)
>
> Requires DPDK_GETMAINTAINER_PATH devel config option set, please check
> devtools/load-devel-config.
>
> DPDK_GETMAINTAINER_PATH should be full path to the get_maintainer.pl
> script, like:
> DPDK_GETMAINTAINER_PATH=~/linux/scripts/get_maintainer.pl
>
> Can be used individually:
> ./devtools/get_maintainer.sh <my.patch>
>
> Or via git send-email, to add maintainers automatically:
> git send-email --to-cmd ./devtools/get_maintainer.sh \
> --cc [email protected] HEAD -4
>
> Currently there is an ugly workaround to be able to use Linux script out
> of the kernel tree, later better method can replace it.
>
> Signed-off-by: Ferruh Yigit <[email protected]>
Sorry for having missed this very convenient patch for months.
Applied, thanks
Have you tried to send a patch to Linux
in order to avoid the workaround below?
> +FILES="COPYING CREDITS Kbuild"
> +FOLDERS="Documentation arch include fs init ipc kernel scripts"
> +
> +# Kernel script checks for some files and folders to run
> +workaround () {
> + for f in $FILES; do
> + if [ ! -f $f ]; then touch $f; fi
> + done
> +
> + for d in $FOLDERS; do
> + if [ ! -d $d ]; then mkdir $d; fi
> + done
> +}