1From 43acc56d5506c7e318f717fb3634bc16e3438913 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 15 Jan 2015 18:12:07 -0800
4Subject: [PATCH] Makefile.am: fix parallel issue
5
6There might be no src dir if src/builtin.h runs earlier, create it to
7fix the race issue:
8
9src/genbuiltin nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h
10/bin/sh: src/builtin.h: No such file or directory
11
12Upstream-Status: Pending
13
14Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
15---
16 Makefile.am |    1 +
17 1 file changed, 1 insertion(+)
18
19Index: neard-0.16/Makefile.am
20===================================================================
21--- neard-0.16.orig/Makefile.am
22+++ neard-0.16/Makefile.am
23@@ -244,6 +244,7 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(di
24 src/plugin.$(OBJEXT): src/builtin.h
25
26 src/builtin.h: src/genbuiltin $(builtin_sources)
27+	$(AM_V_at)$(MKDIR_P) src
28 	$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
29
30 se/plugin.$(OBJEXT): se/builtin.h
31