aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-11-01 13:51:54 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2020-08-27 15:21:54 +0200
commit082a0d25663ecbfbe255f4296e64b56fe66cea1b (patch)
tree235d32c8a08fc5f180120bf4e8bb8cdfbe745a05
parent5a95ef54bc3f4a1d3f242aef0b83318450576b90 (diff)
downloadmeta-openembedded-contrib-jansa/zeus.tar.gz
meta-openembedded-contrib-jansa/zeus.tar.bz2
meta-openembedded-contrib-jansa/zeus.zip
miniupnpd: Build config.h before full buildjansa/zeus
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>
-rw-r--r--meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20190630.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20190630.bb b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20190630.bb
index 6b8fdca4c3..e029266541 100644
--- a/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20190630.bb
+++ b/meta-networking/recipes-connectivity/miniupnpd/miniupnpd_2.1.20190630.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
}