aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-11-01 13:51:54 -0700
committerKhem Raj <raj.khem@gmail.com>2019-11-01 17:22:53 -0700
commit9429dba394182d69babe3326f78211cbd2d695ba (patch)
treebf58ffc36e5fad909a4747332b87b3965889f9fa /meta-networking/recipes-connectivity
parentef9f2b31b230e32dbc817f9914818bdcb6292ff6 (diff)
downloadmeta-openembedded-9429dba394182d69babe3326f78211cbd2d695ba.tar.gz
meta-openembedded-9429dba394182d69babe3326f78211cbd2d695ba.tar.bz2
meta-openembedded-9429dba394182d69babe3326f78211cbd2d695ba.zip
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@gmail.com>
Diffstat (limited to 'meta-networking/recipes-connectivity')
-rw-r--r--meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20191006.bb1
1 files changed, 1 insertions, 0 deletions
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 595e211ea..81bfe66a9 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
}