From patchwork Tue Jun 18 01:28:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Denys Dmytriyenko X-Patchwork-Id: 167103 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3577124ilk; Mon, 17 Jun 2019 18:28:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4mydGyqImrYik9IW9PgUMMolvkmYJ1MG6KtTKv0/pQvXZGp3BJeBruPMbDamhuG7PbqTt X-Received: by 2002:a63:9142:: with SMTP id l63mr226746pge.185.1560821303242; Mon, 17 Jun 2019 18:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560821303; cv=none; d=google.com; s=arc-20160816; b=i8QTJlVcDlDiEihGYoGGsq7r9cT/E5gVUuG49etRs+//qe+EfRVEReJxJtRn1VD6X/ gwkZtRloJViVkfyczU0Y0YlU+XKYJ0VWsBtFy3y3O7Uo9ptLNucOfyfwMhc1ghmqjdE7 qHd+ly+vaXTw3SG589q0ILF0s05LtvmzX2u8/+F6E20YynGytn1gX4mYIPaYp2kyDw/j CozpYO5awGp8jTRtSTeJ6cC6xPP/IMQEIljpHVPE/IP0Howe5+PYh/evVcj/2YxwUm8J 0Gawu8DpPAZO7Erl5OLyRlT2ifg0XpTuzfybd6aP4CuaWlKE4cqpTNtNIJ6bYHqWkJP/ gfkQ== 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:cc:references:in-reply-to:message-id :date:to:from:delivered-to; bh=bzD+DEu1X8I1pV2GN1p9gHeAZxVN8goFw7IejpfWyp8=; b=h46x4gYb/SBdvgA+R7veOZl92Kui+DNJZMQIV7migkf8vbTZ43C5peIoatyRNbSPCJ oXydt18pWdTuHJ+m0nS7ntokhLnI8g7TKuS4VnE093xT5miCDeRa/Nkh695Sr+q2iEoG fqnBGTMuCGo4+Ow7P0wbutAPGH1Ztr+ixkYKfQSc0Ta6h5gJMvyzSZbKo2YaA2yX9+v7 XUuke3WbzevrisTkOsoYLtYMyUWShIq9CQqWprrZw0Th63Zrw1pLMTYouEXB1vjCDPm/ ncuerQyuLilsudzDyOffJ/U9Lh/PPIF6nXXH1i83c+kulKMEvhM9rwUkp9wz1eE1cuCO FK5w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 200si8319710pfy.101.2019.06.17.18.28.22; Mon, 17 Jun 2019 18:28:23 -0700 (PDT) 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; 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 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 3DF267E82A; Tue, 18 Jun 2019 01:28:18 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mailout4.zoneedit.com (mailout4.zoneedit.com [64.68.198.64]) by mail.openembedded.org (Postfix) with ESMTP id 20C467E821 for ; Tue, 18 Jun 2019 01:28:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout4.zoneedit.com (Postfix) with ESMTP id E20A540BC0; Tue, 18 Jun 2019 01:28:16 +0000 (UTC) Received: from mailout4.zoneedit.com ([127.0.0.1]) by localhost (zmo14-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aT2WuAd7GnUt; Tue, 18 Jun 2019 01:28:16 +0000 (UTC) Received: from mail.denix.org (pool-100-15-86-127.washdc.fios.verizon.net [100.15.86.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout4.zoneedit.com (Postfix) with ESMTPSA id CBB8340BBA; Tue, 18 Jun 2019 01:28:15 +0000 (UTC) Received: from gimli.denix (unknown [192.168.30.6]) by mail.denix.org (Postfix) with ESMTP id A981E1703A7; Mon, 17 Jun 2019 21:28:14 -0400 (EDT) From: Denys Dmytriyenko To: openembedded-core@lists.openembedded.org Date: Mon, 17 Jun 2019 21:28:07 -0400 Message-Id: <1560821287-20630-2-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560821287-20630-1-git-send-email-denis@denix.org> References: <1560821287-20630-1-git-send-email-denis@denix.org> Cc: Denys Dmytriyenko Subject: [OE-core] [PATCH 2/2] mtd-utils: add "jffs" and "ubifs" PACKAGECONFIG options 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 From: Denys Dmytriyenko Enabled by default, but allow to optionally disable them. Signed-off-by: Denys Dmytriyenko --- meta/recipes-devtools/mtd/mtd-utils_git.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 2.7.4 -- _______________________________________________ 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 6415fff..49a650a 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_git.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_git.bb @@ -24,10 +24,12 @@ 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)} lzo" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'xattr', d)} lzo jffs ubifs" PACKAGECONFIG[lzo] = "--with-lzo,--without-lzo,lzo" PACKAGECONFIG[xattr] = "--with-xattr,--without-xattr,acl" PACKAGECONFIG[crypto] = "--with-crypto,--without-crypto,openssl" +PACKAGECONFIG[jffs] = "--with-jffs,--without-jffs" +PACKAGECONFIG[ubifs] = "--with-ubifs,--without-ubifs" CPPFLAGS_append_riscv64 = " -pthread -D_REENTRANT" @@ -59,7 +61,9 @@ do_install () { oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} } -PACKAGES =+ "mtd-utils-jffs2 mtd-utils-ubifs mtd-utils-misc mtd-utils-tests" +PACKAGES =+ "mtd-utils-misc mtd-utils-tests" +PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "jffs", "mtd-utils-jffs2", "", d)}" +PACKAGES =+ "${@bb.utils.contains("PACKAGECONFIG", "ubifs", "mtd-utils-ubifs", "", d)}" FILES_mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool" FILES_mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*"