[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d7e801a-7eab-7421-1dc8-b718aec33ffc@ti.com>
Date: Thu, 12 Apr 2018 22:00:37 -0500
From: Dave Gerlach <d-gerlach@...com>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Anders Roxell <anders.roxell@...aro.org>
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Tony Lindgren <tony@...mide.com>,
Russell King - ARM Linux <linux@...linux.org.uk>,
Santosh Shilimkar <santosh.shilimkar@...cle.com>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
Linux-OMAP <linux-omap@...r.kernel.org>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>
Subject: Re: [PATCH] ARM: omap2: Fix build when using split object directories
Hi,
On 04/12/2018 04:08 AM, Masahiro Yamada wrote:
> 2018-04-12 17:21 GMT+09:00 Anders Roxell <anders.roxell@...aro.org>:
>> On 2018-04-11 16:15, Dave Gerlach wrote:
>>> The sleep33xx and sleep43xx files should not depend on a header file
>>> generated in drivers/memory. Remove this dependency and instead allow
>>> both drivers/memory and arch/arm/mach-omap2 to generate all macros
>>> needed in headers local to their own paths.
>>>
>>> This fixes an issue where the build fail will when using O= to set a
>>> split object directory and arch/arm/mach-omap2 is built before
>>> drivers/memory with the following error:
>>>
>>> .../drivers/memory/emif-asm-offsets.c:1:0: fatal error: can't open drivers/memory/emif-asm-offsets.s for writing: No such file or directory
>>> compilation terminated.
>>>
>>> Fixes: 41d9d44d7258 ("ARM: OMAP2+: pm33xx-core: Add platform code needed for PM")
>>> Acked-by: Tony Lindgren <tony@...mide.com>
>>> Reviewed-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
>>> Signed-off-by: Dave Gerlach <d-gerlach@...com>
>>
>> Tested-by: Anders Roxell <anders.roxell@...aro.org>
>>
>> Maybe we can remove drivers/memory/Makefile.asm-offsets and move those
>> changes into drivers/memory/Makefile ?
>
> Agree!
Alright, I agree as well, fixed in v2.
Regards,
Dave
>
>
>
>
Powered by blists - more mailing lists