[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2375c9f90909161914t3470dedne872364b2c446755@mail.gmail.com>
Date: Thu, 17 Sep 2009 10:14:05 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Felipe Contreras <felipe.contreras@...il.com>
Cc: linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>,
Mike Frysinger <vapier@...too.org>
Subject: Re: [PATCH v2 3/6] kbuild: mkcompile_h: trivial cleanups
On Thu, Sep 17, 2009 at 5:38 AM, Felipe Contreras
<felipe.contreras@...il.com> wrote:
> UTS_TRUNCATTE is simpler this way, and now editors idetify this as a
> shell script.
>
> Signed-off-by: Felipe Contreras <felipe.contreras@...il.com>
Looks good.
Acked-by: WANG Cong <xiyou.wangcong@...il.com>
> ---
> scripts/mkcompile_h | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
> index f060763..bce3d0f 100755
> --- a/scripts/mkcompile_h
> +++ b/scripts/mkcompile_h
> @@ -1,3 +1,5 @@
> +#!/bin/sh
> +
> TARGET=$1
> ARCH=$2
> SMP=$3
> @@ -50,7 +52,7 @@ UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP"
> # Truncate to maximum length
>
> UTS_LEN=64
> -UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}\).*/\1/"
> +UTS_TRUNCATE="cut -b -$UTS_LEN"
>
> # Generate a temporary compile.h
>
> --
> 1.6.5.rc1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists