Linux-Bluetooth Archive on
 help / color / Atom feed
* [PATCH BlueZ] add missing mkdir in builtin.h generation
@ 2019-10-08 10:01 Ross Burton
  0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2019-10-08 10:01 UTC (permalink / raw)
  To: linux-bluetooth

In parallel out-of-tree builds it's possible that tools/*.rules are
generated before the target directory has been implicitly created. Solve this by
creating the directory before writing into it.
--- | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ b/
index 2ac28b23d..e7bcd2366 100644
--- a/
+++ b/
@@ -589,6 +589,7 @@ src/builtin.h: src/genbuiltin $(builtin_sources)
 	$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
+	$(AM_V_at)$(MKDIR_P) tools
 	$(AM_V_GEN)cp $(srcdir)/$(subst 97-,,$@) $@
 $(lib_libbluetooth_la_OBJECTS): $(local_headers)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 10:01 [PATCH BlueZ] add missing mkdir in builtin.h generation Ross Burton

Linux-Bluetooth Archive on

Archives are clonable:
	git clone --mirror linux-bluetooth/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-bluetooth linux-bluetooth/ \
	public-inbox-index linux-bluetooth

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox