blob: a5263c6f8d232c420a63a35893b0b606a245a274 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 780b0b8e48551ba49b011caeeb09101a09c14a61 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@intel.com>
3Date: Fri, 26 May 2017 17:11:32 +0100
4Subject: [PATCH] Makefile: ensure frontends/ exits before writing into it
5
6As previously, if GCC dependencies are not being written and the build is out of
7tree then frontends/ won't exist so we need to create it.
8
9Upstream-Status: Backport
10Signed-off-by: Ross Burton <ross.burton@intel.com>
11Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
12(cherry picked from commit f7986375129d1ada7dc6abeeec5b9d00ef6f7149)
13Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
14---
15 Makefile.am | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/Makefile.am b/Makefile.am
19index 1baa110..434db5d 100644
20--- a/Makefile.am
21+++ b/Makefile.am
22@@ -171,6 +171,7 @@ if COND_kconfig
23 bin_SCRIPTS += frontends/kconfig
24
25 frontends/kconfig: frontends/kconfig.in
26+ $(MKDIR_P) $(@D)
27 $(AM_V_GEN)$(SED) -e 's/@KCFG_LIST@/$(kcfg_list)/g' \
28 $< >$@
29 @chmod +x $@
30--
312.12.0
32