[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <938b0adb-e1b1-2825-14b9-8352b1b23ad8@oracle.com>
Date: Fri, 6 Apr 2018 09:30:36 -0700
From: Santosh Shilimkar <santosh.shilimkar@...cle.com>
To: Anders Roxell <anders.roxell@...aro.org>, tony@...mide.com,
d-gerlach@...com
Cc: rmk+kernel@...linux.org.uk, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/memory: can't open emif-asm-offsets.s for writing
On 4/6/2018 6:00 AM, Anders Roxell wrote:
> Build failes due to that the directory isn't created before we execute
> the build rule.
> cc1: fatal error: can’t open ‘drivers/memory/emif-asm-offsets.s’ for
> writing: No such file or directory compilation terminated.
> drivers/memory/Makefile.asm-offsets:2: recipe for target 'drivers/memory/emif-asm-offsets.s' failed
> make[2]: *** [drivers/memory/emif-asm-offsets.s] Error 1
> Makefile:1060: recipe for target
> 'arch/arm/mach-omap2' failed
> make[1]: *** [arch/arm/mach-omap2] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> Current code adds a file check before checking the dependency, in
> filechk it does mkdir -p $(dir $@).
>
> Fixes: 41d9d44d7258 ("ARM: OMAP2+: pm33xx-core: Add platform code needed for PM")
> Signed-off-by: Anders Roxell <anders.roxell@...aro.org>
> ---
Acked-by: Santosh Shilimkar <ssantosh@...nel.org>
Powered by blists - more mailing lists