From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92B01A0544; Wed, 8 Jun 2022 17:39:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F1064069C; Wed, 8 Jun 2022 17:39:54 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id B816A40687 for ; Wed, 8 Jun 2022 17:39:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654702792; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=BU86UghLTMQZ/glIJT4n4Y8Ut479LJ5io5gZnSTighg=; b=KkCiBZcXpniujxNI5H2BciynPuVlH0JntR/KHeR3gHFXOdQ5DATqTa/R1eNg+SqrGFsE6a KzNSkGTXuHOWHdBRZPK8WQVVj3nv7p/HK55OBVVLmzq8jacmzDi/zWHbVqt6cdDax7TbKn VcIvmqq0W7ofWUBXv5DSd7Relobw50A= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-126-CTgfS5KvMx6GUQ9L5VqAkA-1; Wed, 08 Jun 2022 11:39:51 -0400 X-MC-Unique: CTgfS5KvMx6GUQ9L5VqAkA-1 Received: by mail-lj1-f198.google.com with SMTP id x12-20020a2ea7cc000000b002556793003eso3910541ljp.8 for ; Wed, 08 Jun 2022 08:39:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BU86UghLTMQZ/glIJT4n4Y8Ut479LJ5io5gZnSTighg=; b=caCK5XzZJ+nQoeSaxk+/oRtZG+TqhqQ2RdmDYMAQULcQp1CSPvTaAxLHqDgic9tHGB F4lZsbKcLkGjUHz/LQ4/g9U73daKyMs9SK7Dh0xro0e04GfSVL6SXV8/tId5g4aALfFH /iZDaZY8WrtN4VeR0GZuAyyDML5YiPc3rmmlPdumB2t300jKTohKnTSEQL/S7jGXsdbr cUyWrkiDDgazhOeUEf0Rb35cyze6W8fBc2hf/nR75goYKqJmfg3HA9YhKip14HlPjnuM mE1+35Vy0B/ZDdJBmU49mTaD8477Pf4t9xGPkl3Fq7b0fkDuNNLiePzij9o5Bx2HxIzc nADQ== X-Gm-Message-State: AOAM533mQ+hiHuJemgmPmZrvIKR9XbZsjPSzJdypdtBsbaH3vZt1S5dC Y0PmPD/KPxoc20ZsROG6ewrKdQOYV9XXQnuV09/rZxj69Lw1dgJBDdnNtdaMA31n9x2nya3+LZJ GxdA8U1GqKVyd7UNa880= X-Received: by 2002:a2e:7c01:0:b0:257:92f1:f9aa with SMTP id x1-20020a2e7c01000000b0025792f1f9aamr250462ljc.46.1654702789593; Wed, 08 Jun 2022 08:39:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkxcdIfb52c7g+Ku/bIqEHhpVNAmMcyTk1KDSbaBPSoVAlaleeQY8Q0YnErw+t62LwoDFrn8xrDn0cw5t52ug= X-Received: by 2002:a2e:7c01:0:b0:257:92f1:f9aa with SMTP id x1-20020a2e7c01000000b0025792f1f9aamr250450ljc.46.1654702789407; Wed, 08 Jun 2022 08:39:49 -0700 (PDT) MIME-Version: 1.0 References: <20220226214045.19902-1-rpm@fthiessen.de> <20220303131543.31246-1-rpm@fthiessen.de> In-Reply-To: From: David Marchand Date: Wed, 8 Jun 2022 17:39:38 +0200 Message-ID: Subject: Re: [PATCH v2] build: try to get kernel version from kernel source To: Ferdinand Thiessen Cc: Bruce Richardson , dev , Ferruh Yigit Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Mar 8, 2022 at 4:55 PM Ferruh Yigit wrote: > > On 3/3/2022 1:15 PM, Ferdinand Thiessen wrote: > > When building the kernel modules, try to get the kernel > > version from the kernel sources first. This fixes the > > kernel modules installation directory if the target kernel > > version differs from the host kernel version, like for > > CI build or when packaging for linux distributions. > > > > Signed-off-by: Ferdinand Thiessen Acked-by: Bruce Richardson > Tested-by: Ferruh Yigit Applied, thanks. -- David Marchand