[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181027194725.GA30155@avx2>
Date: Sat, 27 Oct 2018 22:47:25 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] fs: proc: move linux_proc_banner to where it is used
On Fri, Oct 26, 2018 at 11:20:34PM +0200, Rasmus Villemoes wrote:
> +#include <generated/compile.h>
> +#define linux_proc_banner \
> + "%s version %s" \
> + " (" LINUX_COMPILE_BY "@" LINUX_COMPILE_HOST ")" \
> + " (" LINUX_COMPILER ") %s\n"
Include doesn't work if compiling from scratch:
rm -rf ../obj
mkdir ../obj
make O=../obj defconfig
make O=../obj fs/proc/version.o
CC fs/proc/version.o
fs/proc/version.c:2:10: fatal error: generated/compile.h: No such file or directory
Powered by blists - more mailing lists