Re: [PATCH 3/3] kbuild: remove obj-n and lib-n handling

From: Masahiro Yamada
Date: Thu Oct 02 2014 - 09:18:20 EST


Hi Michal,


On Thu, 02 Oct 2014 15:04:44 +0200
Michal Marek <mmarek@xxxxxxx> wrote:

> On 2014-09-09 12:26, Masahiro Yamada wrote:
> > Kconfig never defines CONFIG_* as 'n'.
> > Now obj-n is only used in firmware/Makefile and it can be
> > replaced with obj-. No makefile uses lib-n.
>
> BTW, there are a few more instances of *-n, none of which seem useful:
>
> $ git --no-pager grep -e '[a-z]-n\>' -- '*Makefile*' '*Kbuild*'
> Makefile: $(init-n) $(init-) \
> Makefile: $(core-n) $(core-) $(drivers-n) $(drivers-) \
> Makefile: $(net-n) $(net-) $(libs-n) $(libs-))))
> arch/arm/mach-ixp4xx/Makefile:obj-pci-n :=
> arch/powerpc/boot/Makefile:initrd- := $(patsubst zImage%,
> zImage.initrd%, $(image-n) $(image-))

Uh, I missed them.

Anyway, it should be done in a separate patch
even if we fix them.

Can you fix them, please?
(I do not want to steal what you found.)

Simpler makefiles seem better.



Best Regards
Masahiro Yamada

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/