[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y3fjrpbi.fsf@concordia.ellerman.id.au>
Date: Wed, 13 Jun 2018 19:46:57 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Laura Abbott <labbott@...hat.com>,
kbuild test robot <lkp@...el.com>
Cc: kbuild-all@...org, Andy Lutomirski <luto@...nel.org>,
mjw@...oraproject.org, "H . J . Lu" <hjl.tools@...il.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
X86 ML <x86@...nel.org>, linux-kernel@...r.kernel.org,
Nick Clifton <nickc@...hat.com>,
Cary Coutant <ccoutant@...il.com>, linux-kbuild@...r.kernel.org
Subject: Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds
Laura Abbott <labbott@...hat.com> writes:
> On 06/11/2018 11:03 PM, Michael Ellerman wrote:
>> kbuild test robot <lkp@...el.com> writes:
...
>>> All errors (new ones prefixed by >>):
>>>
>>>>> ld: cannot open linker script file scripts/module-common.lds: No such file or directory
>>
>> This seems to need the following.
>>
>> diff --git a/Makefile b/Makefile
>> index 73f0bb2c7a98..55a5725b6606 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -425,7 +425,7 @@ KBUILD_AFLAGS_KERNEL :=
>> KBUILD_CFLAGS_KERNEL :=
>> KBUILD_AFLAGS_MODULE := -DMODULE
>> KBUILD_CFLAGS_MODULE := -DMODULE
>> -KBUILD_LDFLAGS_MODULE := -T $(srctree)/scripts/module-common.lds
>> +KBUILD_LDFLAGS_MODULE := -T $(objtree)/scripts/module-common.lds
>> LDFLAGS :=
>> GCC_PLUGINS_CFLAGS :=
>
> Thanks for pointing that out. I think I missed that when refactoring.
> I'll fix that in the next version plus adding your powerpc patch.
Thanks.
cheers
Powered by blists - more mailing lists