Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 1 | From ed55b49a226ca3909f52416be2ae5ce1c5ca2cb2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ross Burton <ross.burton@intel.com> |
| 3 | Date: Fri, 22 Apr 2016 15:40:37 +0100 |
| 4 | Subject: [PATCH] Makefile.obexd: add missing mkdir in builtin.h generation |
| 5 | |
| 6 | In parallel out-of-tree builds it's possible that obexd/src/builtin.h is |
| 7 | generated before the target directory has been implicitly created. Solve this by |
| 8 | creating the directory before writing into it. |
| 9 | |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 10 | Upstream-Status: Backport |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 11 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
| 12 | --- |
| 13 | Makefile.obexd | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/Makefile.obexd b/Makefile.obexd |
| 17 | index 2e33cbc..c8286f0 100644 |
| 18 | --- a/Makefile.obexd |
| 19 | +++ b/Makefile.obexd |
| 20 | @@ -105,2 +105,3 @@ obexd/src/plugin.$(OBJEXT): obexd/src/builtin.h |
| 21 | obexd/src/builtin.h: obexd/src/genbuiltin $(obexd_builtin_sources) |
| 22 | + $(AM_V_at)$(MKDIR_P) $(dir $@) |
| 23 | $(AM_V_GEN)$(srcdir)/obexd/src/genbuiltin $(obexd_builtin_modules) > $@ |
| 24 | -- |
| 25 | 2.8.0.rc3 |
| 26 | |