From ed55b49a226ca3909f52416be2ae5ce1c5ca2cb2 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Fri, 22 Apr 2016 15:40:37 +0100
Subject: [PATCH] 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.

Upstream-Status: Submitted
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index 2e33cbc..c8286f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -219,8 +219,8 @@
 unit_tests =

 include Makefile.tools
-include Makefile.obexd
-include android/Makefile.am
+#include Makefile.obexd
+#include android/Makefile.am

 if HID2HCI
 rulesdir = @UDEV_DIR@/rules.d