From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by dpdk.org (Postfix) with ESMTP id 372C369C5 for ; Tue, 28 Mar 2017 22:52:35 +0200 (CEST) Received: by mail-lf0-f42.google.com with SMTP id j90so44361020lfk.2 for ; Tue, 28 Mar 2017 13:52:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qf/sGtny7MkKB1xJPmj+PMMOOPQV0ySJMoZPeZLywlY=; b=YIg88PMjj2CsHFi5Z0eSKd4MZ3YbI3ig12AdnwkzHSq+1i2EZsorUj5jRXgKiTBVHK w0KqBXSB5fd+LSvKJDxOOtEE+d/GAqH89AvZQFjE+L+fCdjfP7KXznPjz9Wp/c0UV4u8 c7Mdro93PsWRGC7dQKARxYaYRxFXsPJMckQlo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=qf/sGtny7MkKB1xJPmj+PMMOOPQV0ySJMoZPeZLywlY=; b=f06ud/O8KA7fRFz4h2e2nb04TPti7P0ge5GmKtQYxg79pkqPdLvvasjMUtGd+P52BT 3xlP+sTolnIuyxAoK7a+3hK3TWNqvtbmDWSpzpjmnBwoMJfseKFAdZcYpeMpWO3fPJZS sGn7BgAlNd4s2NSFvDjThFeLTq0qiDW4MnMlDvaqLu7OWQezrdm1qjL+gXMs4tRGBIa8 ZPex3eJG2e6IDLEg6Lgb6IOkE5JaD37D/VVP+mONiimSrMEikf2DNoFDaCEt9bi201HH C6DwHg20JViUq4ZbdjJJvF1nr0MbwjQ7NKQp0kQ1zNhfmiFs02Vxhywx0VyQn9OiiTUf AJlQ== X-Gm-Message-State: AFeK/H2Fslx+i+MzdivzvF2YVQck6EEgOEL0wpgwhzb8bcb/dv7ssliCs/TqB8ghzDs7Outb X-Received: by 10.46.88.84 with SMTP id x20mr2304716ljd.24.1490734354884; Tue, 28 Mar 2017 13:52:34 -0700 (PDT) Received: from localhost.localdomain (c-793370d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.51.121]) by smtp.gmail.com with ESMTPSA id v13sm878310lfi.6.2017.03.28.13.52.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Mar 2017 13:52:33 -0700 (PDT) Date: Tue, 28 Mar 2017 22:36:54 +0200 From: Anders Roxell To: Thomas Monjalon Cc: dev@dpdk.org, ricardo.salveti@linaro.org Message-ID: <20170328203654.GA25274@localhost.localdomain> References: <20170118214505.30663-1-anders.roxell@linaro.org> <6436237.sUZdnsUm2n@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6436237.sUZdnsUm2n@xps13> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] pkg: add dkms to build kernel module X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 20:52:35 -0000 On 2017-02-07 18:04, Thomas Monjalon wrote: > Hi, Hi, I'm sorry for the extremely slow response. > > So the idea is to package DPDK kernel modules with DKMS. > And if we do not want to use DKMS, we just have to remove this part? > Could we better identify the DKMS part to remove? Or add a variable to switch > between the 2 modes? Yes that makes sense. I'll send a v2. > > 2017-01-18 22:45, Anders Roxell: > > +MAKE="source /usr/share/dpdk/buildtools/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h'" > > What is dpdk-sdk-env.sh? Its a file that sets up RTE_TARGET, RTE_SDK and RTE_INCLUDE, the file will be sourced while building the modules with dkms. Cheers, Anders