From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 4E35D4CB3 for ; Fri, 31 Aug 2018 11:20:46 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id 20-v6so10536431wrb.12 for ; Fri, 31 Aug 2018 02:20:46 -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=MRFyTZqLXBDJZK9ywjfMGo7nx3nYSI/ZqPVidcrpca0=; b=F7xpXwrLABcuNnm2MDOxEVC5m3ShPVfqwCtuKLgA/tXyyTcT00+jKmBGY87AnQ5blt u7e4NdswucftX2yABX+NiKPY8db6ndQhIMmjEAOVVNrXpaFs4lx4DOXYbSXC9TjKPvpN kbvbQ+XbOI03wgZLyHLVy9UeM6tp/Pc3wU5runA5O/wspsG31xm4B+FNMfzv1ApIPLHP sZMKbYruxh3OCYlNqSLQXbWkUD6rcdSnlXJ2W6H216dCZ6BjvEPN+poKTQIQNxV9Ldv/ g+FVLLCJp+JAPo3L3oYzgr1RuIKVFARrls1xxZSy1LANk6U/vmMbicK4b4nsDhBooTPz imnQ== X-Gm-Message-State: APzg51Bgekb52FzmTMm7fsaTqdqYN+FWXzKkfY5IK2WZMirgs0KBzj8m wX8YzYOa4pDszaPWYXhpSHjVoYDo X-Google-Smtp-Source: ANB0VdbuLEnWnkhLj24ACnQSmfQJarxIvFDuHcgm46YWsIXruIZwUzPSQuOiJqCTtjIi2qD92ZNdJw== X-Received: by 2002:adf:f28c:: with SMTP id k12-v6mr10608608wro.263.1535707245696; Fri, 31 Aug 2018 02:20:45 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id w18-v6sm17786208wrc.38.2018.08.31.02.20.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 02:20:44 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Fri, 31 Aug 2018 10:20:29 +0100 Message-Id: <20180831092029.4887-4-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180831092029.4887-1-bluca@debian.org> References: <20180831092029.4887-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH 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: , X-List-Received-Date: Fri, 31 Aug 2018 09:20:46 -0000 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 --- 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..f452986da3 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 $prefix/$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', -- 2.18.0