From patchwork Mon Mar 4 17:31:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 159563 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4020887jad; Mon, 4 Mar 2019 09:32:32 -0800 (PST) X-Google-Smtp-Source: AHgI3IYNCGrBDUMniWPnNNnx+0wFHacdtIV7yB+5iMOcssWpPi33ZOymVZN5kbIzIyiyNgs2QL+y X-Received: by 2002:a62:404:: with SMTP id 4mr20664152pfe.131.1551720752687; Mon, 04 Mar 2019 09:32:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551720752; cv=none; d=google.com; s=arc-20160816; b=pXI/GSmsloO94N8ctaxWwIy1XbvmZ9XI6DV206uhMfCWcNEzsB/VwLy66aS3D4l3t/ zDk6i2SIZbPzMJGFYPnQO8J0uL5e0vY5R9QhHcTKPduCpLPdkmzNaW+P+JBLAIG942v1 fR3qh5hnPUJR1Q9KjFcq/et62tMCOo6ii5gVCfFDbrYpXNbzTSKFGMvNdwCN8P3PuwJt 4IgN5APrp5M5oMS2J7jrKNhxDUkKz30p8SRrPM/i+p7ZCSV4oEeKY2DntZVKBchqrhe1 vZW2IkKTDDywxpaTOPbkxZUGJ2octhd/0KSPO6LMXijY9KGSEX/sIK5KTOphQUM203j4 1i+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=KViupN+WYnhY/PrJLMXtKFsiNAKy90JinmCOrLxWDAs=; b=wESX+EYyqNkJHjYVm9dBEV6MgzXYcLwmQ5i4yN8KHfGLvkyBXmoXD8gSg5+M+LG0Bt 3qSFlzUWfi3EAVvfm5mPCwiifmXnZ89CbMfg0gSp7ahuG0d762x3FZ1lOM68rwnUC+WA dIBdi8xP+oypVniHwkiz0hZsjTf7GhiYryQ0fgHfRq39+Ap4jBcTfkoDiNcOVnZy+LVR oJ9VbY3TvyImH6kVeOt5zfsQBNtGBrdfMbLHzmXGehFZjNu1276FPcMQ/v4Pe6I+1vFh c+zdwFbZwIyiOqVAp4n/buS91V6aDv1qhvg3WsoN0mx8bikiTjB4yZ0CXjW8FBfqzOWR OYLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fZcDrJEC; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id h64si5902859pfd.74.2019.03.04.09.32.32; Mon, 04 Mar 2019 09:32:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fZcDrJEC; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5335A7CB38; Mon, 4 Mar 2019 17:32:22 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mail.openembedded.org (Postfix) with ESMTP id CA4177C930 for ; Mon, 4 Mar 2019 17:31:52 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id t18so6491013wrx.2 for ; Mon, 04 Mar 2019 09:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=+p0QAjMafcav43vgnonN1HpJ8lUT6NbOR1xUT/Cw6pQ=; b=fZcDrJECufLdeSHqOcYnlA0BbWvzjM40jqQ5YTrP2a/besqtzxGTRiqLTwro/cqJ+G DCPpSkVxrS0GVvXVbWabrXVn4J23+DXOo20FvUaphG+o+oK8a0SAQmHCHDvQqeVAWxrd nryxXU2s/KOYjIALblWiQxQ/caYXKd0OW+pItiQtLIk1d7N9vy9x/z4bdE2r8vvBaiim uzFwQB3emExq7L3uOwHtKUk0wHP8llwiWEYiqy8AtJGpJz/BY1PjnXAD5rkLbHqZmFjr D10XbJqV0fBzv/NqQJvLI6DjssrS+0M/qMqZToGzo29LrmPuO70aWXPlGqvD7AwWp5ec rPCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=+p0QAjMafcav43vgnonN1HpJ8lUT6NbOR1xUT/Cw6pQ=; b=E9HCiQg/r0sZEhDQrNBG1KgsLXka4GdzJai09vEOlr3Z+zOcWtOlm2DCUTl1ojy1UV sKe9Xth+1Y7zPrt5hnBJ2bYCshsZsW4Z9DhYJyedyKR2tuBpWoUIFMM6leaYt+jOvoFM r/cP3qjM78N2KXvRThCHS7V/7lXzqK7s4kc86j7ujzp9H4HT+ucL5amAgXahH5PZBWyu eQqlif0OgEspN8T+LwTfl8yYTCLNBJihlehX7KeURsRKDU2dWCLMaZNy4x+5P+X/SixS ZWVDY2NUiYrA2Zu11ErZrjJNCflrNmSVM7sC3eDZRt30jwlZnu0a8H+3fj800tD24iDp ZEXA== X-Gm-Message-State: APjAAAURbDSPrHf11w+4KH+LpN41Eh04VA1nr/ZRUAr1evI8xo6qpgja AaY5lo7bmL4RhvTe5b/c8USodAaZYFs= X-Received: by 2002:adf:ffcd:: with SMTP id x13mr13026718wrs.20.1551720713291; Mon, 04 Mar 2019 09:31:53 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id v67sm10137991wmb.9.2019.03.04.09.31.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 09:31:52 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 4 Mar 2019 17:31:42 +0000 Message-Id: <20190304173144.25675-4-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190304173144.25675-1-ross.burton@intel.com> References: <20190304173144.25675-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 4/6] mtd-utils: add lzo PACKAGECONFIG X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org LZO support is optional so add a PACKAGECONFIG to control this. Also clean up the xattr PACKAGECONFIG to explicitly enable/disable. Signed-off-by: Ross Burton --- meta/recipes-devtools/mtd/mtd-utils_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/mtd/mtd-utils_git.bb b/meta/recipes-devtools/mtd/mtd-utils_git.bb index f53c6c1122d..9ffac2ed3a8 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ inherit autotools pkgconfig update-alternatives -DEPENDS = "zlib lzo e2fsprogs util-linux" +DEPENDS = "zlib e2fsprogs util-linux" RDEPENDS_mtd-utils-tests += "bash" PV = "2.0.2+${SRCPV}" @@ -25,8 +25,9 @@ EXTRA_OECONF += "--enable-install-tests" # xattr support creates an additional compile-time dependency on acl because # the sys/acl.h header is needed. libacl is not needed and thus enabling xattr # regardless whether acl is enabled or disabled in the distro should be okay. -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)}" -PACKAGECONFIG[xattr] = ",,acl," +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)} lzo" +PACKAGECONFIG[lzo] = "--with-lzo,--without-lzo,lzo" +PACKAGECONFIG[xattr] = "--with-xattr,--without-xattr,acl" CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT"