Messages in this thread | | | Date | Sat, 27 Oct 2018 22:47:25 +0300 | From | Alexey Dobriyan <> | 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
| |