From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anders Roxell Subject: Re: [PATCH] pkg: add dkms to build kernel module Date: Tue, 28 Mar 2017 22:36:54 +0200 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 Cc: dev@dpdk.org, ricardo.salveti@linaro.org To: Thomas Monjalon 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) Content-Disposition: inline In-Reply-To: <6436237.sUZdnsUm2n@xps13> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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