Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 1 | Upstream-Status: Backport |
| 2 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
Andrew Geissler | 99467da | 2019-02-25 18:54:23 -0600 | [diff] [blame] | 3 | |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 4 | From 117c41242c01e057295aed80ed973c6dc7e35fe2 Mon Sep 17 00:00:00 2001 |
| 5 | From: Ross Burton <ross.burton@intel.com> |
| 6 | Date: Tue, 8 Oct 2019 11:01:56 +0100 |
| 7 | Subject: [PATCH BlueZ] Makefile.am: add missing mkdir in rules generation |
Andrew Geissler | 99467da | 2019-02-25 18:54:23 -0600 | [diff] [blame] | 8 | |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 9 | In parallel out-of-tree builds it's possible that tools/*.rules are |
| 10 | generated before the target directory has been implicitly created. Solve this by |
| 11 | creating the directory before writing into it. |
Andrew Geissler | 99467da | 2019-02-25 18:54:23 -0600 | [diff] [blame] | 12 | --- |
| 13 | Makefile.am | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/Makefile.am b/Makefile.am |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 17 | index 2ac28b23d..e7bcd2366 100644 |
Andrew Geissler | 99467da | 2019-02-25 18:54:23 -0600 | [diff] [blame] | 18 | --- a/Makefile.am |
| 19 | +++ b/Makefile.am |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 20 | @@ -589,6 +589,7 @@ src/builtin.h: src/genbuiltin $(builtin_sources) |
Andrew Geissler | 99467da | 2019-02-25 18:54:23 -0600 | [diff] [blame] | 21 | $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@ |
| 22 | |
| 23 | tools/%.rules: |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 24 | + $(AM_V_at)$(MKDIR_P) tools |
Andrew Geissler | 99467da | 2019-02-25 18:54:23 -0600 | [diff] [blame] | 25 | $(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@ |
| 26 | |
| 27 | $(lib_libbluetooth_la_OBJECTS): $(local_headers) |
| 28 | -- |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame^] | 29 | 2.20.1 |
Andrew Geissler | 99467da | 2019-02-25 18:54:23 -0600 | [diff] [blame] | 30 | |