From patchwork Wed Dec 5 12:50:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 152906 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp9258706ljp; Wed, 5 Dec 2018 04:51:11 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ue4q1Ca7j0Mtbb40nPRXOP+lRbsSiMgGa5MNpkw6S6WzZml4uRCR1q0+XomCp4AXg2ldLF X-Received: by 2002:a17:902:66e6:: with SMTP id e93mr23591144plk.92.1544014270917; Wed, 05 Dec 2018 04:51:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544014270; cv=none; d=google.com; s=arc-20160816; b=SU+Rb40AEtwOtdc/hTrzplY60B29azqRCCsCCUHsqRbFxjTJiIIXqyAOXSc2hafQIV 6s0R9mldL2x/UZB5lSjuhZhjeZQL39NMKY2M7/u5zBIssKAbpGiSBc8v41lO/4+TXoN8 uGryJUVJTZFL5JN7wW48CLTK7fm6M5MCbv69frtjKevb+pjguhlXzA9TJGmps4wftcO4 xJzwIIGv14FN63uUbNoT31xgYhlciVskuEgXZfgePWTtUrlRWQNaoYZj31SgMUFhJD0H dBY3mbVaSU10XUwwFlYyM2dEXxNtLyaSQTelI3MYvAJ62bTie/jCC0C5nsHtBn1GvU+A kykg== 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:message-id:date:to:from:dkim-signature :delivered-to; bh=mW+NBeRuhIKnAgo6Yz4g2Eq54n4EW0gntfqJtpsV52k=; b=pPd7LdqeWG7HAxVt8ZoynIBNdvb2XtlaHrYvRLLATDqx8sKL0ZsZk8ODK1EnEvyhZd 1Z4iGg7Vun7D/97IKMbQTFCpUaamN8VWAe7EJvRrqTw+KV9fbcZw6Olte7mnZm5a2DYs trhnykS9LitU7Dk3fqRQ9M90BvFRWTjMrOBpCUijsNj9rWX2W4d0o8RHfKzHnk5z7OV5 2Sd0jGQFGto/byqmX6oYUbinqDzgAjtDbYh8bJHzQUP4DAgmnXuGxmfw4tf60rKe70Wj 2Qdqxz2mXGBNJRvKZzh/O4RwSmXAGwu+oi0vdFxwTUaIFFfBiITPjG1J4Nz8bXe/ZNjZ XkCA== 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=AHdccC1h; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 w5si21931210pfl.279.2018.12.05.04.51.10; Wed, 05 Dec 2018 04:51:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=AHdccC1h; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id AD56B7458D; Wed, 5 Dec 2018 12:51:06 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 B06997458B for ; Wed, 5 Dec 2018 12:51:05 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id 96so19591490wrb.2 for ; Wed, 05 Dec 2018 04:51:07 -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; bh=03JqRJrcNHSkkcOftEqTonFnjRH5Xt4hUguD7TJvi2Y=; b=AHdccC1h22euz1hibydZ1ST+ofV/j25AjmCoFWr9FhnbIt82SGEQNbCCzvAJ6eGiO9 nOxoNpW3EGCWc09WfBCtoFT1J9hFnNu3swkSrBSZED9Tv5sbm5eaNQazREqjEkk79nIB KsSGVpyxU5Kl7Y5mZPQBIHV2fi/graxQBXIYEf4qTQCDvfZr9gwvq73doxTsyNXlIqsH iP4hnUrT9PZZmARUusmiElQBfG8El7XJEbPM7kE2Xm8pqy68jZ4c/x22hDqNyRns/wC7 TJk0UTbh6/V/APAfBKprMP6+6ck/qVLZCHrBK1v26iiyOsHf98ZiPFTVclruIArTjafq H9cA== 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; bh=03JqRJrcNHSkkcOftEqTonFnjRH5Xt4hUguD7TJvi2Y=; b=sXyDPjpQVz4Maymd/zeM/ZA4ct4KvswqeFvfNNHfdcvUSfZQBWUpA7hzCl/GQZ56eu JqMC9CZTOV/7R5g4RIV0zgNORSKDpGa6fYosbWVOPZjCi6NkYclOtrB9DU/xhnKLwbiS 2be1oU83EFUhm2HOWPe9wsn++6klk+OAhrNZaqvNb3nvWU4y58o2veVgZfuxRTHvDbhk WM/bwq8Y8w1joJhwFLQxdcoV+wx5OJKSnhoEC2X67h15qYU9gfSyRUZVqXL9YlCv6O87 v0CAdV2OpexczxKKU+IlQF9riSyCRmEcmiia4mur0tP5ieS8JetytbpXurTBaSmTbQYi xUUg== X-Gm-Message-State: AA+aEWYVnAyZ6PmCOpulCZDt3iCeQYJ/1BoYeLRqLR9c6viBcSdQ/Duy pm5J7RbjH24Gbp6nJzV0jhH6HuHJDd4= X-Received: by 2002:adf:d112:: with SMTP id a18mr22810577wri.17.1544014266097; Wed, 05 Dec 2018 04:51:06 -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 v16sm17771582wrs.75.2018.12.05.04.51.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 04:51:05 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Wed, 5 Dec 2018 12:50:59 +0000 Message-Id: <20181205125100.32765-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [oe] [PATCH 1/2] iwd: add more PACKAGECONFIG options X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Disabled by default (as per upstream defaults), but expose ofono and wired options (wired installs the EAD service). Signed-off-by: Ross Burton --- meta-oe/recipes-connectivity/iwd/iwd_0.12.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb b/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb index a4261547e4..3caad20a40 100644 --- a/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb +++ b/meta-oe/recipes-connectivity/iwd/iwd_0.12.bb @@ -10,9 +10,9 @@ SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git" SRCREV = "d7609915db4b57229f7dd4c04b4eabcce637872a" S = "${WORKDIR}/git" -SYSTEMD_SERVICE_${PN} = "iwd.service" - PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" +PACKAGECONFIG[wired] = "--enable-wired,--disable-wired" +PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono" PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd" EXTRA_OECONF += "--enable-external-ell" @@ -22,3 +22,5 @@ do_configure_prepend () { } FILES_${PN} += "${datadir}/dbus-1" + +SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}"