]> git.ipfire.org Git - thirdparty/linux.git/commit - Makefile
kbuild: move modpost out of 'scripts' target
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 29 Nov 2018 03:13:24 +0000 (12:13 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 1 Dec 2018 14:09:34 +0000 (23:09 +0900)
commit60df1aee2aecb53efb4218b4dfdf7d6c80a5a3de
tree2fb422b14d1dcc32e4eaed5a6b22179514fe4729
parent65bba0423ecf89fb291d2269e0087707888a1cef
kbuild: move modpost out of 'scripts' target

I am eagar to build under the scripts/ directory only with $(HOSTCC),
but scripts/mod/ highly depends on the $(CC) and target arch headers.
That it why the 'scripts' target must depend on 'asm-generic',
'gcc-plugins', and $(autoksyms_h).

Move it to the 'prepare0' stage. I know this is a cheesy workaround,
but better than the current situation.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile
scripts/Makefile
scripts/mod/Makefile