Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From 780b0b8e48551ba49b011caeeb09101a09c14a61 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ross Burton <ross.burton@intel.com> |
| 3 | Date: Fri, 26 May 2017 17:11:32 +0100 |
| 4 | Subject: [PATCH] Makefile: ensure frontends/ exits before writing into it |
| 5 | |
| 6 | As previously, if GCC dependencies are not being written and the build is out of |
| 7 | tree then frontends/ won't exist so we need to create it. |
| 8 | |
| 9 | Upstream-Status: Backport |
| 10 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
| 11 | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> |
| 12 | (cherry picked from commit f7986375129d1ada7dc6abeeec5b9d00ef6f7149) |
| 13 | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> |
| 14 | --- |
| 15 | Makefile.am | 1 + |
| 16 | 1 file changed, 1 insertion(+) |
| 17 | |
| 18 | diff --git a/Makefile.am b/Makefile.am |
| 19 | index 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 | -- |
| 31 | 2.12.0 |
| 32 | |