Re: [PATCH] scripts: unify system call table generation scripts

From: Firoz Khan
Date: Thu Jan 03 2019 - 06:55:35 EST


Hi Geert,

On Thu, 3 Jan 2019 at 17:04, Firoz Khan <firoz.khan@xxxxxxxxxx> wrote:
> > +fileguard=_UAPI_ASM_`basename "$out" | sed \
>
> Currently, all but MIPS have the architecture name included in
> the file guard. Shouldn't that be retained?

I was planning to do something similar to this:
-fileguard=_UAPI_ASM_`basename "$out" | sed \
+fileguard=_UAPI_ASM_${ARCH}_`basename "$out" | sed \

But later I thought, the generated file will present inside arch
directory (eg: arch/m68k/include/generated/uapi/asm/unistd.h).
So Is that required to mention the architecture name in the file
guard as it is generated inside the respective arch directory?

Thanks
Firoz