mirror of
https://github.com/openwrt/telephony.git
synced 2025-05-02 03:30:17 +08:00

Include an upstream patch to fix random parallel build failures, such as: CC [M] build-arm/modules/ctrl_dbus/ctrl_dbus.o modules/ctrl_dbus/ctrl_dbus.c:69:10: fatal error: baresipbus.h: No such file or directory 69 | #include "baresipbus.h" | ^~~~~~~~~~~~~~ Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
24 lines
836 B
Diff
24 lines
836 B
Diff
From d7aeb9393876af3746dacdbacd70c4a5d6dfcf39 Mon Sep 17 00:00:00 2001
|
|
From: Christian Spielberger <c.spielberger@commend.com>
|
|
Date: Sun, 23 May 2021 10:01:04 +0200
|
|
Subject: [PATCH] ctrl_dbus: add dependency to baresipbus.h (#1447) (#1457)
|
|
|
|
---
|
|
modules/ctrl_dbus/module.mk | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
--- a/modules/ctrl_dbus/module.mk
|
|
+++ b/modules/ctrl_dbus/module.mk
|
|
@@ -16,7 +16,10 @@ $(MOD)_CFLAGS += -Wno-unused-parameter -
|
|
|
|
$(MOD)_CCHECK_OPT = -e baresipbus.h -e baresipbus.c
|
|
|
|
-modules/ctrl_dbus/baresipbus.h modules/ctrl_dbus/baresipbus.c: \
|
|
+modules/$(MOD)/baresipbus.o : modules/$(MOD)/baresipbus.h
|
|
+modules/$(MOD)/ctrl_dbus.o : modules/$(MOD)/baresipbus.h
|
|
+
|
|
+modules/$(MOD)/baresipbus.h modules/$(MOD)/baresipbus.c: \
|
|
modules/ctrl_dbus/com.github.Baresip.xml
|
|
@cd $(dir $@) && ./gen.sh
|
|
|