]> git.sur5r.net Git - kconfig-frontends/commitdiff
Makefile: ensure frontends/ exits before writing into it
authorRoss Burton <ross.burton@intel.com>
Fri, 26 May 2017 16:11:32 +0000 (17:11 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 27 May 2017 08:54:48 +0000 (10:54 +0200)
As previously, if GCC dependencies are not being written and the build is out of
tree then frontends/ won't exist so we need to create it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Makefile.am

index 1baa110cbf84e1000a8b66c1b3a074dc586f2d50..434db5d3f956f2969f61567ceebedad57352d6d8 100644 (file)
@@ -171,6 +171,7 @@ if COND_kconfig
 bin_SCRIPTS += frontends/kconfig
 
 frontends/kconfig: frontends/kconfig.in
+       $(MKDIR_P) $(@D)
        $(AM_V_GEN)$(SED) -e 's/@KCFG_LIST@/$(kcfg_list)/g' \
                $< >$@
        @chmod +x $@