Re: [PATCH] tags: Use $SRCARCH

From: AmÃrico Wang
Date: Fri Feb 19 2010 - 23:30:59 EST


On Sat, Feb 20, 2010 at 4:45 AM, Michal Marek <mmarek@xxxxxxx> wrote:
> $ make mrproper
> $ make tags
> ÂGEN Â Â tags
> Âfind: `arch/x86_64/': No such file or directory
>
> Caused by commit f81b1be (tags: include headers before source files)
>
> Cc: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> Cc: WANG Cong <xiyou.wangcong@xxxxxxxxx>
> Signed-off-by: Michal Marek <mmarek@xxxxxxx>


Ah, this looks fine. Thanks for this!

Acked-by: WANG Cong <xiyou.wangcong@xxxxxxxxx>

> ---
> Âscripts/tags.sh | Â Â4 ++--
> Â1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/tags.sh b/scripts/tags.sh
> index c122041..9f45953 100755
> --- a/scripts/tags.sh
> +++ b/scripts/tags.sh
> @@ -5,7 +5,7 @@
> Â# mode may be any of: tags, TAGS, cscope
> Â#
> Â# Uses the following environment variables:
> -# ARCH, SUBARCH, srctree, src, obj
> +# ARCH, SUBARCH, SRCARCH, srctree, src, obj
>
> Âif [ "$KBUILD_VERBOSE" = "1" ]; then
> Â Â Â Âset -x
> @@ -70,7 +70,7 @@ find_sources()
>
> Âall_sources()
> Â{
> - Â Â Â find_arch_include_sources ${ARCH} '*.[chS]'
> + Â Â Â find_arch_include_sources ${SRCARCH} '*.[chS]'
> Â Â Â Âif [ ! -z "$archinclude" ]; then
> Â Â Â Â Â Â Â Âfind_arch_include_sources $archinclude '*.[chS]'
> Â Â Â Âfi
> --
> 1.6.5.3
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/