nano-tiny: add 'tiny' build of nano
PATCH 1/2 nano-tiny: add 'tiny' build of nano
Builds with --enable-tiny rather than --enable-all. Binary sizes:
non-tiny: 166320
tiny: 73592
--- 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
meta-oe/recipes-support/nano/nano-tiny_2.2.5.bb new file +6 -0
@@ -0,0 +1,6 @@ +require recipes-support/nano/nano_${PV}.bb + +DESCRIPTION_${PN} = "${DESCRIPTION} - tiny build" + +BPN = "nano" +EXTRA_OECONF = "--enable-tiny"
Signature · 1 line
1.7.11
PATCH 2/2 nano: rreplaces/rconflicts nano-tiny
--- meta-oe/recipes-support/nano/nano.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/nano/nano.inc +3 -1
@@ -7,8 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" SECTION = "console/utils" DEPENDS = "ncurses" RDEPENDS_${PN} = "ncurses-terminfo" +RREPLACES_${PN} += "nano-tiny" +RCONFLICTS_${PN} += "nano-tiny" -INC_PR = "r2" +INC_PR = "r3" PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
Signature · 1 line
1.7.11
Re: [meta-oe] [PATCH 2/2] nano: rreplaces/rconflicts nano-tiny
Quoted 13 lines · Christopher Larson
Signed-off-by Christopher Larson <[email protected]>---
meta-oe/recipes-support/nano/nano.inc | 4 +++-1 file changed, 3 insertions(+), 1 deletion(-)meta-oe/recipes-support/nano/nano.inc +0
-0@@ -7,8 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"SECTION = "console/utils"
DEPENDS = "ncurses"
RDEPENDS_${PN} = "ncurses-terminfo"
meta-oe/recipes-support/nano/nano.inc LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" · line 13
Quoted 5 lines
meta-oe/recipes-support/nano/nano.inc +3
-1+RREPLACES_${PN} += "nano-tiny" +RCONFLICTS_${PN} += "nano-tiny" -INC_PR = "r2" +INC_PR = "r3"
I was wondering if tinyness of nano can be turned into a PACKAGECONFIG ?
Quoted 11 lines
PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
--
1.7.11_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [meta-oe] [PATCH 2/2] nano: rreplaces/rconflicts nano-tiny
Quoted 17 lines · Khem Raj
Quoted 16 lines · Christopher Larson
Signed-off-by Christopher Larson <[email protected]>---
meta-oe/recipes-support/nano/nano.inc | 4 +++-1 file changed, 3 insertions(+), 1 deletion(-)meta-oe/recipes-support/nano/nano.inc +0
-0@@ -7,8 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"SECTION = "console/utils"
DEPENDS = "ncurses"
RDEPENDS_${PN} = "ncurses-terminfo"meta-oe/recipes-support/nano/nano.inc +2
-0+RREPLACES_${PN} += "nano-tiny" +RCONFLICTS_${PN} += "nano-tiny"
Quoted 4 lines
meta-oe/recipes-support/nano/nano.inc LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" · line 13
Quoted 2 lines
meta-oe/recipes-support/nano/nano.inc +1
-1-INC_PR = "r2" +INC_PR = "r3"I was wondering if tinyness of nano can be turned into a PACKAGECONFIG ?
Good point, could do it that way too. Hmm.
Signature · 1 line
Christopher Larson