From: Nick Alcock Date: Thu, 29 Aug 2013 15:27:29 +0000 (+0100) Subject: ctf: ensure the CTF directory exists before writing the filelist X-Git-Tag: v4.1.12-92~313^2~63 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=32e4690642a86b6f2008b79db52bfcb57b18337e;p=users%2Fjedix%2Flinux-maple.git ctf: ensure the CTF directory exists before writing the filelist If the CTF directory does not yet exist, we must create it before writing the filelist into it. Orabug: 17363469 Signed-off-by: Nick Alcock --- diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index cd6001ad57d4..bab3c7f292d6 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -184,6 +184,7 @@ endef $(ctf-filelist): $(builtins) $(modules:.ko=.o) @rm -f $(ctf-filelist); + @mkdir -p $(ctf-dir); $(call add-ctf-filelists-cmd,$^) # We depend upon a stamp file in lieu of the builtin modules' CTF files, because