mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Baeuerle, Florian" <Florian.Baeuerle@allegion.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH] poco: make poquito configurable
Date: Thu, 7 Mar 2019 12:45:07 +0000	[thread overview]
Message-ID: <20190307124455.11836-1-florian.baeuerle@allegion.com> (raw)
In-Reply-To: <20190307111836.fatxzl4fkxsozsqc@pengutronix.de>

This used to be the default configuration, saving a few kbytes on the
library. The features this omits might weigh heavier than a few kbytes,
so make this configurable.

Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com>
---
 rules/poco.in   | 6 ++++++
 rules/poco.make | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/rules/poco.in b/rules/poco.in
index 6f5afd804..7bd859a14 100644
--- a/rules/poco.in
+++ b/rules/poco.in
@@ -19,6 +19,12 @@ menuconfig POCO
 
 if POCO
 
+config POCO_POQUITO
+	bool
+	prompt "smaller code-size"
+	help
+	  Omit a few features for smaller codesize.
+
 config POCO_ENCODINGS
 	bool
 	prompt "double-byte encodings library"
diff --git a/rules/poco.make b/rules/poco.make
index d280e08af..c60802b2e 100644
--- a/rules/poco.make
+++ b/rules/poco.make
@@ -57,7 +57,7 @@ POCO_CONF_OPT	:= \
 	--no-tests \
 	--no-samples \
 	--omit=$(subst $(ptx/def/space),$(ptx/def/comma),$(POCO_LIBS-)) \
-	--poquito \
+	$(call ptx/ifdef/PTXCONF_POCO_POQUITO,--poquito) \
 	--unbundled \
 	--shared
 
-- 
2.21.0

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      parent reply	other threads:[~2019-03-07 12:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-05 10:49 Baeuerle, Florian
2019-03-07 11:18 ` Michael Olbrich
2019-03-07 12:44   ` Baeuerle, Florian
2019-03-07 12:45   ` Baeuerle, Florian [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190307124455.11836-1-florian.baeuerle@allegion.com \
    --to=florian.baeuerle@allegion.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox