From patchwork Fri Aug 31 10:41:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Boccassi X-Patchwork-Id: 44093 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 06A474CC3; Fri, 31 Aug 2018 12:42:11 +0200 (CEST) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 324B04C9C for ; Fri, 31 Aug 2018 12:42:09 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id o18-v6so4903125wmc.0 for ; Fri, 31 Aug 2018 03:42:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R69svp0JPT4/JeMX49lJ8f2JlM7mQotedtUt0cl4KhQ=; b=GQEc220h+/6M8IKvPKwRqfLTokPloulirAF/Xj9AyV96yI+5hAc+XPOSgeq0zc8i6w iVf/WyMslLFhXTiMngdu/GuBDpdSjXgh19lgCTKLPnHrpeiXwflsQV2qiB3umpWK4xY5 MQTjlyJsHi1koSKz79V2wDuqoyX9ElikWcuzOl8Mizw0DkN5J0QJu668EkzuPLc6oDxx XtbH6uMCa8oXUFnKj0oxuwlFo4BGyVtwv8K+7gfptJXqo1jwcltHLLfoFUqZV1ARinJ4 Bvd121gYrs3vHmRw2FU+zwTMh+n21bKcIPxDN6DFaetT00LW/BPBBkHlS0Mjk26mz12G txMQ== X-Gm-Message-State: APzg51BlE6XyCWmWFhUEvwDU/H+x+MRakaUqIrUYbVgz3PehRpirwDdk qBOB99CaIamBtPCtrxhQWTO/tRXf X-Google-Smtp-Source: ANB0VdY8Qfa2cwcUFSN0vVqQwG7GXtI8mYpW3BMnuRDXKtLKZGdZKmKtnEvATj4LhhVuoDPjcws/XA== X-Received: by 2002:a1c:48d:: with SMTP id 135-v6mr4586296wme.128.1535712128391; Fri, 31 Aug 2018 03:42:08 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id z184-v6sm4954566wmz.0.2018.08.31.03.42.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 03:42:07 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Fri, 31 Aug 2018 11:41:54 +0100 Message-Id: <20180831104154.20938-4-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180831104154.20938-1-bluca@debian.org> References: <20180831092029.4887-1-bluca@debian.org> <20180831104154.20938-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v2 4/4] build: install igb_uio kernel module when building with Meson 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Install in $kerneldir/../extra/dpdk. Usually $kerneldir should something like: /lib/modules/$kver/build, so this directory will match the default one used by legacy makefiles. Fixes: a52f4574f798 ("igb_uio: build with meson") Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- v2: fixed DEST_DIR in option help text kernel/linux/igb_uio/meson.build | 2 ++ meson_options.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/linux/igb_uio/meson.build b/kernel/linux/igb_uio/meson.build index 71ed2e7a85..f5a9d5ccf3 100644 --- a/kernel/linux/igb_uio/meson.build +++ b/kernel/linux/igb_uio/meson.build @@ -15,4 +15,6 @@ custom_target('igb_uio', '/../../../lib/librte_eal/common/include', 'modules'], depends: mkfile, + install: true, + install_dir: kernel_dir + '/../extra/dpdk', build_by_default: get_option('enable_kmods')) diff --git a/meson_options.txt b/meson_options.txt index c843278587..f20887212a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -7,7 +7,7 @@ option('examples', type: 'string', value: '', option('include_subdir_arch', type: 'string', value: '', description: 'subdirectory where to install arch-dependent headers') option('kernel_dir', type: 'string', value: '', - description: 'path to the kernel for building kernel modules') + description: 'path to the kernel for building kernel modules, they will be installed in $DEST_DIR/$kernel_dir/../extra/dpdk') option('lib_musdk_dir', type: 'string', value: '', description: 'path to the MUSDK library installation directory') option('machine', type: 'string', value: 'native',