Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 43acc56d5506c7e318f717fb3634bc16e3438913 Mon Sep 17 00:00:00 2001 |
| 2 | From: Robert Yang <liezhi.yang@windriver.com> |
| 3 | Date: Thu, 15 Jan 2015 18:12:07 -0800 |
| 4 | Subject: [PATCH] Makefile.am: fix parallel issue |
| 5 | |
| 6 | There might be no src dir if src/builtin.h runs earlier, create it to |
| 7 | fix the race issue: |
| 8 | |
| 9 | src/genbuiltin nfctype1 nfctype2 nfctype3 nfctype4 p2p > src/builtin.h |
| 10 | /bin/sh: src/builtin.h: No such file or directory |
| 11 | |
| 12 | Upstream-Status: Pending |
| 13 | |
| 14 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 15 | --- |
| 16 | Makefile.am | 1 + |
| 17 | 1 file changed, 1 insertion(+) |
| 18 | |
| 19 | diff --git a/Makefile.am b/Makefile.am |
| 20 | index 3241311..a43eaa2 100644 |
| 21 | --- a/Makefile.am |
| 22 | +++ b/Makefile.am |
| 23 | @@ -164,6 +164,7 @@ MAINTAINERCLEANFILES = Makefile.in \ |
| 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 | $(src_neard_OBJECTS) \ |
| 31 | -- |
| 32 | 1.7.9.5 |
| 33 | |