All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luo Zhenhua-B19537 <B19537@freescale.com>
To: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Cc: Yu Zongchun-B40527 <B40527@freescale.com>
Subject: Re: [meta-fsl-ppc][PATCH] linux-qoriq-sdk: append SDK version to kernel version
Date: Wed, 22 May 2013 10:49:51 +0000	[thread overview]
Message-ID: <CA452391058F6D4E9715FB2C29D9312A0156F02C@039-SN2MPN1-021.039d.mgd.msft.net> (raw)
In-Reply-To: <1369117267-15587-1-git-send-email-zhenhua.luo@freescale.com>

Applied. 


Best Regards,

Zhenhua


> -----Original Message-----
> From: Luo Zhenhua-B19537
> Sent: Tuesday, May 21, 2013 2:21 PM
> To: meta-freescale@yoctoproject.org
> Cc: Liu Ting-B28495; Guo Chunrong-B40290; Yu Zongchun-B40527; Luo
> Zhenhua-B19537
> Subject: [meta-fsl-ppc][PATCH] linux-qoriq-sdk: append SDK version to
> kernel version
> 
> if SDK_VERSION is defined, append the sdk version string to kernel
> version, this can make make the sdk version is explicit for users,
> expecially when same kernel verison is used for different releases.
> 
> Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
> ---
>  recipes-kernel/linux/linux-qoriq-sdk.bb |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-
> kernel/linux/linux-qoriq-sdk.bb
> index 45f615f..a015e49 100644
> --- a/recipes-kernel/linux/linux-qoriq-sdk.bb
> +++ b/recipes-kernel/linux/linux-qoriq-sdk.bb
> @@ -5,10 +5,9 @@ DESCRIPTION = "Linux kernel for Freescale platforms"
>  SECTION = "kernel"
>  LICENSE = "GPLv2"
> 
> -
>  require recipes-kernel/linux/linux-qoriq-sdk.inc
> 
> -PR = "r10"
> +PR = "r11"
> 
>  SRC_URI += "file://fix_getrusage_for_perf.patch \
>              file://0001-Enable-the-option-Automount-devtmpfs-at-dev-in-
> kerne.patch \ @@ -17,4 +16,9 @@ SRC_URI +=
> "file://fix_getrusage_for_perf.patch \
>  do_configure_prepend() {
>  	# copy desired defconfig so we pick it up for the real
> kernel_do_configure
>  	cp ${KERNEL_DEFCONFIG} ${B}/.config
> +
> +	# append sdk version in kernel version if SDK_VERSION is defined
> +	if [ -n "${SDK_VERSION}" ]; then
> +		echo "CONFIG_LOCALVERSION=\"-${SDK_VERSION}\"" >>
> ${S}/.config
> +	fi
>  }
> --
> 1.7.9.5




      reply	other threads:[~2013-05-22 10:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-21  6:21 [meta-fsl-ppc][PATCH] linux-qoriq-sdk: append SDK version to kernel version Zhenhua Luo
2013-05-22 10:49 ` Luo Zhenhua-B19537 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA452391058F6D4E9715FB2C29D9312A0156F02C@039-SN2MPN1-021.039d.mgd.msft.net \
    --to=b19537@freescale.com \
    --cc=B40527@freescale.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.