Skip to contentSkip to conversation

argp-standalone: set ALLOW_EMPTY to PN

PATCH In review [email protected] 2 participants 3 messages Oct 5, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 argp-standalone: set ALLOW_EMPTY to PN

From: Ming Liu <[email protected]>

This ensures argp-standalone-staticdev package could be installed correctly(depending on argp-standalone) if it's being required during SDK population.

---
 meta/recipes-support/argp-standalone/argp-standalone_1.3.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/argp-standalone/argp-standalone_1.3.bb +2 -0
index bd0cfdf..1242e31 100644
@@ -19,6 +19,8 @@ inherit autotools
 
 CFLAGS += "-fPIC -U__OPTIMIZE__"
 
+ALLOW_EMPTY_${PN} = "1"
+
 do_install() {
 	install -D -m 0644 ${B}/libargp.a ${D}${libdir}/libargp.a
 	install -D -m 0644 ${S}/argp.h ${D}${includedir}/argp.h
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · On 5 October 2017 at 04:48, <[email protected]> wrote:

From: Ming Liu <[email protected]>

This ensures argp-standalone-staticdev package could be installed correctly(depending on argp-standalone) if it's being required during SDK population.

I'd prefer to remove the dependency on PN in PN-staticdev, as a argp-standalone library package with nothing in it is more confusing.

Ross

author
#2 lore raw

Hi, Ross:

Agreed, will send a V2 soon.

//Ming Liu

2017-10-05 12:22 GMT+02:00 Burton, Ross <[email protected]>:

Quoted 14 lines · On 5 October 2017 at 04:48, <[email protected]> wrote:
Quoted 7 lines

From: Ming Liu <[email protected]>

This ensures argp-standalone-staticdev package could be installed correctly(depending on argp-standalone) if it's being required during SDK population.

I'd prefer to remove the dependency on PN in PN-staticdev, as a argp-standalone library package with nothing in it is more confusing.

Ross