Patchwork [meta-oe,1/2] nano-tiny: add 'tiny' build of nano

login
register
mail settings
Submitter Christopher Larson
Date June 28, 2012, 6:18 p.m.
Message ID <1340907500-14243-1-git-send-email-kergoth@gmail.com>
Download mbox | patch
Permalink /patch/30817/
State New, archived
Headers show

Comments

Christopher Larson - June 28, 2012, 6:18 p.m.
Builds with --enable-tiny rather than --enable-all. Binary sizes:

non-tiny: 166320
tiny: 73592

Signed-off-by: Christopher Larson <kergoth@gmail.com>
---
 meta-oe/recipes-support/nano/nano-tiny_2.2.5.bb | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 meta-oe/recipes-support/nano/nano-tiny_2.2.5.bb

Patch

diff --git a/meta-oe/recipes-support/nano/nano-tiny_2.2.5.bb b/meta-oe/recipes-support/nano/nano-tiny_2.2.5.bb
new file mode 100644
index 0000000..d0b2576
--- /dev/null
+++ b/meta-oe/recipes-support/nano/nano-tiny_2.2.5.bb
@@ -0,0 +1,6 @@ 
+require recipes-support/nano/nano_${PV}.bb
+
+DESCRIPTION_${PN} = "${DESCRIPTION} - tiny build"
+
+BPN = "nano"
+EXTRA_OECONF = "--enable-tiny"