From patchwork Wed Apr 19 20:00:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 752447 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w7Xv83Qcrz9s78 for ; Thu, 20 Apr 2017 06:01:24 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="UTgdMf0K"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 609428A1E9; Wed, 19 Apr 2017 20:01:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0FYtjyhzkX7g; Wed, 19 Apr 2017 20:01:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9237A8A1DA; Wed, 19 Apr 2017 20:01:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 254E41C276A for ; Wed, 19 Apr 2017 20:00:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2B51089713 for ; Wed, 19 Apr 2017 20:00:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GF7TVfaFxTiX for ; Wed, 19 Apr 2017 20:00:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0F3BD89717 for ; Wed, 19 Apr 2017 20:00:27 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id o21so4630436wrb.3 for ; Wed, 19 Apr 2017 13:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lObf0gost5bxZ6doAnXrT5uHCJkkmByAxLQRWOg8gP4=; b=UTgdMf0KhgHNI3P3iw5+HbsF7c6v/Ngv9GM62xjuBTND8KWd87t6za3Smn6zFH8172 nkt7+7BOC0BjNHhVLzi6F677WCz0RdV1VJRGB3DhbgkzZiRs64loAOywIXG/26WOhAvx YY2DSoJayTcasplQi9C37YhhJDLxfBF2eEZfy519r4N0h3ducAE+otVxTkSA//6RHTn3 5kYsEYzQ6OQPaoRVB1M/SiTYzydoTD2K2J1pTw5YrEekFWBSXygfgYduucA0/K3S24XR K2XOw2m2rGy+wzvwMHinaVjaf0DAy8PBtYhIMNaPrdLKseCLcDtxpdkNE3f+EL1P/LJl x3Sw== 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=lObf0gost5bxZ6doAnXrT5uHCJkkmByAxLQRWOg8gP4=; b=iqjDszOOqtgm1YejgQG8MYwDDMJ237b9K/3d9Vzbvej63MobYa5lbbFHULXGBd797y D+8rxtMnHIJo/B7MH3I5bydyXcDmShRbjez5JJ437BaoUXRFQUbat98fFJM1xwjnIisU LvEiBkj6vl+WZz07OTbhQuT4eS5oLnJwP0KV7QX+WPik2rv7BPhCuLnmoIPXszzW3p+r vOSNl2QPdByx9UgBhz6fsDjCvMq9XOBLuGywnmOHLsbS7iWsVE7inmzARuqlHlEdW+s3 Ct10r48woH//+TLfMGsqkgtrVqi0kMzRtuzCVkrFWunEQyd8qGLNpv06zUkG0o07a8wo 04wg== X-Gm-Message-State: AN3rC/43X72iNhKjXx6dL/AuQwYYntBvrE8dGpiuBdIMWz/mb1FUoo7W 7QIwX8zwTmwyww== X-Received: by 10.223.172.111 with SMTP id v102mr176856wrc.112.1492632025469; Wed, 19 Apr 2017 13:00:25 -0700 (PDT) Received: from localhost.localdomain (d54c493b0.access.telenet.be. [84.196.147.176]) by smtp.gmail.com with ESMTPSA id 38sm4656795wru.1.2017.04.19.13.00.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Apr 2017 13:00:24 -0700 (PDT) From: Thomas De Schampheleire To: buildroot@buildroot.org Date: Wed, 19 Apr 2017 22:00:07 +0200 Message-Id: <20170419200007.12590-10-patrickdepinguin@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170419200007.12590-1-patrickdepinguin@gmail.com> References: <20170419200007.12590-1-patrickdepinguin@gmail.com> Cc: Romain Naour , Pawel Sikora , Thomas De Schampheleire Subject: [Buildroot] [PATCH 9/9] xenomai: add string option for additional configure options X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Thomas De Schampheleire Xenomai has many configure options that users may or may not want to set. Providing individual Buildroot config options for every single one of them is not maintainable. Therefore, add a string option to allow the needed flexibility. Important options, or those that have 'select/depends on' impact, can still be turned into real Buildroot config options. Signed-off-by: Thomas De Schampheleire --- package/xenomai/Config.in | 6 ++++++ package/xenomai/xenomai.mk | 2 ++ 2 files changed, 8 insertions(+) diff --git a/package/xenomai/Config.in b/package/xenomai/Config.in index 09e18bf..96e478e 100644 --- a/package/xenomai/Config.in +++ b/package/xenomai/Config.in @@ -116,6 +116,12 @@ config BR2_PACKAGE_XENOMAI_ENABLE_REGISTRY_PATH To use the Xenomai default (currently: /var/run/xenomai), leave this option empty. +config BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS + string "Additional configure options" + help + Specify any additional options to pass to the configure script here. + See Xenomai documentation for details. + config BR2_PACKAGE_XENOMAI_TESTSUITE bool "Install testsuite" help diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk index 31424a1..4044725 100644 --- a/package/xenomai/xenomai.mk +++ b/package/xenomai/xenomai.mk @@ -52,6 +52,8 @@ else XENOMAI_CONF_OPTS += --disable-registry endif +XENOMAI_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS)) + # Some of these files may be desired by some users -- at that point specific # config options need to be added to keep a particular set. define XENOMAI_REMOVE_UNNEEDED_FILES