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

2014-10-02 Thread Masahiro Yamada
Hi Michal, On Thu, 02 Oct 2014 15:04:44 +0200 Michal Marek 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 mor

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

2014-10-02 Thread Michal Marek
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\

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

2014-10-02 Thread Michal Marek
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. A possible usecase would be overriding CONFIG_ options on the commandline: make CONFIG_FOOBAR=n but CONF

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

2014-09-09 Thread Peter Foley
On Tue, Sep 9, 2014 at 6:26 AM, 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. > > Let's rip off obj-n and lib-n. > > Signed-off-by: Masahiro Yamada Acked-by: Peter Foley

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

2014-09-09 Thread Masahiro Yamada
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. Let's rip off obj-n and lib-n. Signed-off-by: Masahiro Yamada --- firmware/Makefile | 2 +- scripts/Makefile.build | 4 ++-- scripts/Makefile.cle