diff mbox series

[oe,meta-networking] miniupnpd: Build config.h before full build

Message ID 20191101212208.2299017-1-raj.khem@gmail.com
State Accepted
Commit 9429dba394182d69babe3326f78211cbd2d695ba
Headers show
Series [oe,meta-networking] miniupnpd: Build config.h before full build | expand

Commit Message

Khem Raj Nov. 1, 2019, 9:22 p.m. UTC
This fixes a race condition e.g.

testminissdp.c:15:10: fatal error: config.h: No such file or directory
   15 | #include "config.h"
      |          ^~~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'testminissdp.o' failed

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 .../recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb     | 1 +
 1 file changed, 1 insertion(+)

-- 
2.23.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb
index 595e211ea5..81bfe66a9e 100644
--- a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb
+++ b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb
@@ -26,6 +26,7 @@  do_configure_prepend() {
 
 do_compile() {
     cd ${S}
+    CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux config.h
     CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux
 }