From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6755821036247187456 X-Received: by 2002:aca:b1c3:: with SMTP id a186mr3581915oif.1.1573132833632; Thu, 07 Nov 2019 05:20:33 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a9d:32a4:: with SMTP id u33ls1320626otb.16.gmail; Thu, 07 Nov 2019 05:20:33 -0800 (PST) X-Google-Smtp-Source: APXvYqy7guWXMSdhXhf62OE7nlE7ytQsfipYPruBC17JaXs2Ar5dZtrxIsVWuvlAZ/s5zxhMSglB X-Received: by 2002:a9d:30d2:: with SMTP id r18mr3101375otg.287.1573132833026; Thu, 07 Nov 2019 05:20:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573132833; cv=none; d=google.com; s=arc-20160816; b=YZqU53EPJgXvWuP+IeBXEyql54JqGzss/4LZy7gHecpoQqZuo3cg/PjRYASmJZJF9L JBuhSyiR4WT5maFpd5Y77IZShZyd5Fgd9DiFRNso2FIAjAC+/CmP33fYUgVLRqFXgg59 fxM0uMMf2dYW9VDN1OOuQcW4XRPdyjWWmtNbZRJ76grD3hqF8QBhTKd6EZNjzmyD5HyJ wvIHWG+xnxp9KBlIei2wOo9+rwQS9B6FzMbk+ZHpDjQ4pUYwgWaAc4vQSxBXyJyBKatK NxrQWb0Ln+n34C5dClKWiv2jAug6/kxtMe/5vhJRySsWbtLTTpsUe+EPDAte0sqSg0ge 173A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:ironport-sdr :ironport-sdr; bh=SxwVudZB17OXoWRwGZ8FyDGM/C22s254Oqn0QGeetlo=; b=eChfIyEnjQBp+JA0bSOdO8QCZ6te684K332Fn/+kVEmEb71SPLKxaJP/s5hid4X6CB xS1OAGuEhX7II7W0ehO6s3kBH4AelNd0eNTimNlk3yJX1H7H6a1U0liSiPgTAUjIKXMp 5sU62GR4yvLeMRUVaQYi5LanjE6c3hAfLJY7L/gYB0SMU+edhPIDNb8zS7ij513qepOd CERgICie+jvcWpfw1o2pARJu5c+QcNfLDvNunYPuVahEURaeIiETIpiM+xL+roIu2jAg FbRVPH9Z1Xv2m9fN32PJufE0TVIgDqlIxBSfnP1Dze+7m94Tlx+y8riHxxfiYfHO++ec Nprw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com. [68.232.141.98]) by gmr-mx.google.com with ESMTPS id i15si152824otk.5.2019.11.07.05.20.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Nov 2019 05:20:32 -0800 (PST) Received-SPF: pass (google.com: domain of cedric_hombourger@mentor.com designates 68.232.141.98 as permitted sender) client-ip=68.232.141.98; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of cedric_hombourger@mentor.com designates 68.232.141.98 as permitted sender) smtp.mailfrom=Cedric_Hombourger@mentor.com IronPort-SDR: +4L/guR78ufrmAbunYUSLlxl5jXHVbkywGhZY0f3965SaGFxeIPTY6aCN/OETDVXy70u+OYkcA J2E0mXM4IRD98HGPVzKaHInZfAmkqZWKpvmcCivcnD1BxJcOAIdpseKbGeV2ryVncinckV6co5 hFsbMV4OZ+geS30zOYvv22AdYkJ+uCOSEfKgP3fv/SSxD44X8XGXebK3Z8QTVYmj6NODyzCWXZ C2+cvEV2qHSaj55Zc0x1o88tI4EA3L0Nr/haybFDmapQDyLici3n2rz5hPVHId0ywLGGE1NZHQ 1UE= X-IronPort-AV: E=Sophos;i="5.68,278,1569312000"; d="scan'208";a="42894667" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 07 Nov 2019 05:20:26 -0800 IronPort-SDR: dXcrh04bwp+HrXTVBI9x9rVSH04GVfUcg0wRmvKt/nNLxjvbZV8S6sr9s5ZqdkO3f4HRhkH6co 24aB65zstJa8HYY07yOGxBiRKHNTDWBcSK0/ldeSdVhkyTl8XcAlrBBxMmY8iuVtg37ek8oAPv 6x6haB1Zu1UuIldnbXjHrl4RPe4eabe44J5HabSa50FmB/VjLAFBCbpr5Tzkwda5F/UW1g4V1R GIoBvFYFb65IeTqXQ+STGdaUU/dzraP/MSBqfAYemkn1JIGss3pbT4rdk7xxQ+b4ytTL52gema E6A= Subject: Re: [PATCH 7/7] linux-custom: rewrite to no longer depend on the kernel's builddeb To: Gylstorff Quirin , References: <1572962145-318-1-git-send-email-Cedric_Hombourger@mentor.com> <1572962258-367-1-git-send-email-Cedric_Hombourger@mentor.com> <1572962258-367-3-git-send-email-Cedric_Hombourger@mentor.com> From: Cedric Hombourger Message-ID: Date: Thu, 7 Nov 2019 14:20:18 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Return-Path: Cedric_Hombourger@mentor.com X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) X-TUID: QOhCve48ky3t On 11/7/19 12:44 PM, Gylstorff Quirin wrote: > > > On 11/5/19 2:57 PM, Cedric Hombourger wrote: >> -KV=$( make -s kernelrelease ) >> -if [ "${KV}" != "${PV}" ]; then >> -    echo "ERROR: Recipe PV is \"${PV}\" but should be \"${KV}\"" 1>&2 >> -    echo "ERROR: Probably due to CONFIG_LOCALVERSION" 1>&2 >> -    exit 1 >> -fi >> - > > Can we now use CONFIG_LOCALVERSION in a kernel configuration? looks like I need to handle that. do we want to maintain the current behavior and make sure that PV and $(make -s kernelrelease) match or do we want to accept something like (pseudo-code): KR=$(make -s kernelrelease) if [ "${PV}" != "${KR}" -a "${PV}${CONFIG_LOCALVERSION}" != "${KR}" ]; then     echo "ERROR: Recipe PV (${PV}) does not seem to match the kernelrelease (${KR})!" 1>&2     echo "ERROR: Make sure the kernel version in your PV setting and/or CONFIG_LOCALVERSION are aligned" 1>&2     exit 1 fi > > Quirin