From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id 5236B4F90 for ; Mon, 17 Sep 2018 11:01:39 +0200 (CEST) Received: by mail-wm1-f68.google.com with SMTP id y2-v6so8610662wma.1 for ; Mon, 17 Sep 2018 02:01:39 -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=qJizT7hOopAIvYb1MR87UjqkZl6Y0iFmD8hN3w3JYUs=; b=FZ7akuUunka8E/ZeSl8DsPhT3ZfQLoNyC/wpG8I5jeFyau0fvtV34F7aXvW6c+gxAC E5dqc4knDRzETfDJ0NOAqez4MM/vVV4CNIdnQs5JQ33P5x8v6YENHY1Yt0gpaA13a8Ku AxIVmvD11ySCzvgr5usrYfkvdADNcYDdwqTUIYhRjpNFktzPuCUhBAb/1naxWKYkLjbT sz0LRLSqmFe60SN8V92U2jLYSQthDLYl2SETXMOEzzoUDD9TdwXlWdWo2PnRBMSPO27O RV+/59vpUb9IJFnlPbvxVWH0pqWJXD2gp1qzYvCfZfF3SbnHT+jisDJo+LAK2dGosEoh PFyA== X-Gm-Message-State: APzg51BdhoNUN+2oo5GJnYFN0MaKx1HjH9TSXA/1aUgIQsyCxi9DOrPM bLmsBEJV3XIBNMgshJPjd1G8PyWW X-Google-Smtp-Source: ANB0VdbvrvWD+0TKc+fJOp8hfPoMxONLLmmJik+ctUoU/+ALsdJCepLa+PfwTx/KEtcssHgSBPYXEg== X-Received: by 2002:a1c:b441:: with SMTP id d62-v6mr10434898wmf.17.1537174898652; Mon, 17 Sep 2018 02:01:38 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:8361:8946:ba2b:d556]) by smtp.gmail.com with ESMTPSA id z14-v6sm5399477wma.18.2018.09.17.02.01.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 Sep 2018 02:01:37 -0700 (PDT) From: Luca Boccassi To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Mon, 17 Sep 2018 10:01:27 +0100 Message-Id: <20180917090127.10541-4-bluca@debian.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180917090127.10541-1-bluca@debian.org> References: <20180831092029.4887-1-bluca@debian.org> <20180917090127.10541-1-bluca@debian.org> Subject: [dpdk-dev] [PATCH v3 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: Mon, 17 Sep 2018 09:01:39 -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") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- v2: fixed DEST_DIR in option help text v3: added acked-by and cc stable 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', -- 2.18.0