linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ia64 kbuild warning message
@ 2020-08-28 16:34 Randy Dunlap
  2020-08-28 17:41 ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2020-08-28 16:34 UTC (permalink / raw)
  To: linux-kbuild, Masahiro Yamada

Hi Yamada-san,

I am seeing this on ia64 builds:

../scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' will not be built even though obj-m is specified.
../scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.

with CONFIG_IA64_PALINFO=y

Can you explain, please?

thanks.
-- 
~Randy

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ia64 kbuild warning message
  2020-08-28 16:34 ia64 kbuild warning message Randy Dunlap
@ 2020-08-28 17:41 ` Masahiro Yamada
  2020-08-28 19:34   ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2020-08-28 17:41 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kbuild

On Sat, Aug 29, 2020 at 1:34 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>
> Hi Yamada-san,
>
> I am seeing this on ia64 builds:
>
> ../scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' will not be built even though obj-m is specified.
> ../scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
>
> with CONFIG_IA64_PALINFO=y
>
> Can you explain, please?
>


This warning is emitted in the archprepare stage.


The following code in arch/ia64/Makefile:

make_nr_irqs_h:
        $(Q)$(MAKE) $(build)=arch/ia64/kernel include/generated/nr-irqs.h



I am wondering if we could merge
arch/ia64/kernel/nr-irqs.c into
arch/ia64/kernel/asm-offsets.c



-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ia64 kbuild warning message
  2020-08-28 17:41 ` Masahiro Yamada
@ 2020-08-28 19:34   ` Masahiro Yamada
  2020-08-28 19:45     ` Randy Dunlap
  0 siblings, 1 reply; 4+ messages in thread
From: Masahiro Yamada @ 2020-08-28 19:34 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kbuild

On Sat, Aug 29, 2020 at 2:41 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> On Sat, Aug 29, 2020 at 1:34 AM Randy Dunlap <rdunlap@infradead.org> wrote:
> >
> > Hi Yamada-san,
> >
> > I am seeing this on ia64 builds:
> >
> > ../scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' will not be built even though obj-m is specified.
> > ../scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
> >
> > with CONFIG_IA64_PALINFO=y
> >
> > Can you explain, please?
> >
>
>
> This warning is emitted in the archprepare stage.
>
>
> The following code in arch/ia64/Makefile:
>
> make_nr_irqs_h:
>         $(Q)$(MAKE) $(build)=arch/ia64/kernel include/generated/nr-irqs.h
>
>
>
> I am wondering if we could merge
> arch/ia64/kernel/nr-irqs.c into
> arch/ia64/kernel/asm-offsets.c



OK, I figured out how to clean this up.

I will send a patch set tomorrow.
For now, I need some sleep.


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ia64 kbuild warning message
  2020-08-28 19:34   ` Masahiro Yamada
@ 2020-08-28 19:45     ` Randy Dunlap
  0 siblings, 0 replies; 4+ messages in thread
From: Randy Dunlap @ 2020-08-28 19:45 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: linux-kbuild

On 8/28/20 12:34 PM, Masahiro Yamada wrote:
> On Sat, Aug 29, 2020 at 2:41 AM Masahiro Yamada <masahiroy@kernel.org> wrote:
>>
>> On Sat, Aug 29, 2020 at 1:34 AM Randy Dunlap <rdunlap@infradead.org> wrote:
>>>
>>> Hi Yamada-san,
>>>
>>> I am seeing this on ia64 builds:
>>>
>>> ../scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' will not be built even though obj-m is specified.
>>> ../scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
>>>
>>> with CONFIG_IA64_PALINFO=y
>>>
>>> Can you explain, please?
>>>
>>
>>
>> This warning is emitted in the archprepare stage.
>>
>>
>> The following code in arch/ia64/Makefile:
>>
>> make_nr_irqs_h:
>>         $(Q)$(MAKE) $(build)=arch/ia64/kernel include/generated/nr-irqs.h
>>
>>
>>
>> I am wondering if we could merge
>> arch/ia64/kernel/nr-irqs.c into
>> arch/ia64/kernel/asm-offsets.c
> 
> 
> 
> OK, I figured out how to clean this up.
> 
> I will send a patch set tomorrow.
> For now, I need some sleep.

Sounds good.

thanks.

-- 
~Randy


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-28 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-28 16:34 ia64 kbuild warning message Randy Dunlap
2020-08-28 17:41 ` Masahiro Yamada
2020-08-28 19:34   ` Masahiro Yamada
2020-08-28 19:45     ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).