[oe-commits] [meta-openembedded] 81/82: miniupnpd: Build config.h before full build

git at git.openembedded.org git at git.openembedded.org
Sat Nov 2 00:25:11 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 9429dba394182d69babe3326f78211cbd2d695ba
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Nov 1 13:51:54 2019 -0700

    miniupnpd: Build config.h before full build
    
    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 at gmail.com>
---
 meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb | 1 +
 1 file changed, 1 insertion(+)

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 595e211..81bfe66 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
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list