From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 072CEE01409 for ; Wed, 22 May 2013 03:49:17 -0700 (PDT) Received: from mail101-tx2-R.bigfish.com (10.9.14.238) by TX2EHSOBE007.bigfish.com (10.9.40.27) with Microsoft SMTP Server id 14.1.225.23; Wed, 22 May 2013 10:49:15 +0000 Received: from mail101-tx2 (localhost [127.0.0.1]) by mail101-tx2-R.bigfish.com (Postfix) with ESMTP id 94FD81E029D for ; Wed, 22 May 2013 10:49:15 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -2 X-BigFish: VS-2(zz9371I542I1432Izz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz8275bh8275dhz2dh2a8h668h839h8e2h8e3h944hd25hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1ad9h1b0ah1d0ch1d2eh1d3fhbe9i1155h) Received: from mail101-tx2 (localhost.localdomain [127.0.0.1]) by mail101-tx2 (MessageSwitch) id 1369219753120245_1340; Wed, 22 May 2013 10:49:13 +0000 (UTC) Received: from TX2EHSMHS015.bigfish.com (unknown [10.9.14.226]) by mail101-tx2.bigfish.com (Postfix) with ESMTP id 19B6B401CB for ; Wed, 22 May 2013 10:49:13 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS015.bigfish.com (10.9.99.115) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 22 May 2013 10:49:10 +0000 Received: from 039-SN2MPN1-021.039d.mgd.msft.net ([169.254.1.137]) by 039-SN1MMR1-004.039d.mgd.msft.net ([::1]) with mapi id 14.02.0328.011; Wed, 22 May 2013 10:49:51 +0000 From: Luo Zhenhua-B19537 To: "meta-freescale@yoctoproject.org" Thread-Topic: [meta-fsl-ppc][PATCH] linux-qoriq-sdk: append SDK version to kernel version Thread-Index: AQHOVeqtW5u8lqg8YE2WI6sjYphefpkRCBfw Date: Wed, 22 May 2013 10:49:51 +0000 Message-ID: References: <1369117267-15587-1-git-send-email-zhenhua.luo@freescale.com> In-Reply-To: <1369117267-15587-1-git-send-email-zhenhua.luo@freescale.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.192.208.134] MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: Yu Zongchun-B40527 Subject: Re: [meta-fsl-ppc][PATCH] linux-qoriq-sdk: append SDK version to kernel version X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 10:49:17 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Applied.=20 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 >=20 > 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. >=20 > Signed-off-by: Zhenhua Luo > --- > recipes-kernel/linux/linux-qoriq-sdk.bb | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) >=20 > 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 =3D "Linux kernel for Freescale platforms" > SECTION =3D "kernel" > LICENSE =3D "GPLv2" >=20 > - > require recipes-kernel/linux/linux-qoriq-sdk.inc >=20 > -PR =3D "r10" > +PR =3D "r11" >=20 > SRC_URI +=3D "file://fix_getrusage_for_perf.patch \ > file://0001-Enable-the-option-Automount-devtmpfs-at-dev-in- > kerne.patch \ @@ -17,4 +16,9 @@ SRC_URI +=3D > "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=3D\"-${SDK_VERSION}\"" >> > ${S}/.config > + fi > } > -- > 1.7.9.5