summaryrefslogtreecommitdiff
path: root/Makefile.obexd
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-08 10:58:32 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-10-09 17:35:04 +0300
commit32e1f52469e197f40fc1124b938b6e2ccac35870 (patch)
tree3c0b08a7e210092f246642b2de53a38179f7425e /Makefile.obexd
parent06cf0fd1c7c7e396ad5c74fba961611434cf2870 (diff)
downloadbluez-32e1f52469e197f40fc1124b938b6e2ccac35870.tar.gz
Makefile.obexd: add missing mkdir in builtin.h generation
In parallel out-of-tree builds it's possible that obexd/src/builtin.h is generated before the target directory has been implicitly created. Solve this by creating the directory before writing into it.
Diffstat (limited to 'Makefile.obexd')
-rw-r--r--Makefile.obexd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.obexd b/Makefile.obexd
index d36874770..de59d297b 100644
--- a/Makefile.obexd
+++ b/Makefile.obexd
@@ -104,6 +104,7 @@ BUILT_SOURCES += obexd/src/builtin.h
obexd/src/plugin.$(OBJEXT): obexd/src/builtin.h
obexd/src/builtin.h: obexd/src/genbuiltin $(obexd_builtin_sources)
+ $(AM_V_at)$(MKDIR_P) $(dir $@)
$(AM_V_GEN)$(srcdir)/obexd/src/genbuiltin $(obexd_builtin_modules) > $@
CLEANFILES += obexd/src/builtin.h $(builtin_files) obexd/src/obex.service