- 18 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 12 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Mar, 2020 5 commits
-
-
Greg Kroah-Hartman authored
-
Masahiro Yamada authored
commit b1fbfcb4 upstream. Commit 2dffd23f ("kbuild: make single target builds much faster") made the situation much better. To improve it even more, apply the similar idea to the top Makefile. Trim unrelated directories from build-dirs. The single build code must be moved above the 'descend' target. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Jens Axboe <axboe@kernel.dk> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Masahiro Yamada authored
commit 35e046a2 upstream. When single-build is set, everything in $(MAKECMDGOALS) is a single target. You can use $(MAKECMDGOALS) to list out the single targets. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Masahiro Yamada authored
commit 7ecaf069 upstream. Currently, some sanity checks for uapi headers are done by scripts/headers_check.pl, which is wired up to the 'headers_check' target in the top Makefile. It is true compiling headers has better test coverage, but there are still several headers excluded from the compile test. I like to keep headers_check.pl for a while, but we can delete a lot of code by moving the build rule to usr/include/Makefile. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Masahiro Yamada authored
commit fcbb8461 upstream. There are both positive and negative options about this feature. At first, I thought it was a good idea, but actually Linus stated a negative opinion (https://lkml.org/lkml/2019/9/29/227 ). I admit it is ugly and annoying. The baseline I'd like to keep is the compile-test of uapi headers. (Otherwise, kernel developers have no way to ensure the correctness of the exported headers.) I will maintain a small build rule in usr/include/Makefile. Remove the other header test functionality. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> [ added to 5.4.y due to start of build warnings from backported patches because of this feature - gregkh] Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
- 28 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 24 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 19 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 14 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 11 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 01 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 26 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 23 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 14 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 12 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 09 Jan, 2020 2 commits
-
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
- 04 Jan, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 31 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 21 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 18 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 04 Dec, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 29 Nov, 2019 1 commit
-
-
Greg Kroah-Hartman authored
-
- 25 Nov, 2019 1 commit
-
-
Linus Torvalds authored
-
- 17 Nov, 2019 1 commit
-
-
Linus Torvalds authored
-
- 14 Nov, 2019 1 commit
-
-
Luc Van Oostenryck authored
Sparse uses the same executable for all archs and uses flags like -m64, -mbig-endian or -D__arm__ for arch-specific parameters. But Sparse also uses value from the host machine used to build Sparse as default value for the target machine. This works, of course, well for native build but can create problems when cross-compiling, like defining both '__i386__' and '__arm__' when cross-compiling for arm on a x86-64 machine. Fix this by explicitely telling sparse the target architecture. Reported-by:
Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by:
Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- 11 Nov, 2019 1 commit
-
-
Linus Torvalds authored
-
- 03 Nov, 2019 1 commit
-
-
Linus Torvalds authored
-
- 27 Oct, 2019 1 commit
-
-
Linus Torvalds authored
-
- 20 Oct, 2019 1 commit
-
-
Linus Torvalds authored
-
- 15 Oct, 2019 1 commit
-
-
Masahiro Yamada authored
Commit 000ec95f ("kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package") missed to update this comment. Fixes: 000ec95f ("kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package") Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-
- 13 Oct, 2019 1 commit
-
-
Linus Torvalds authored
-
- 07 Oct, 2019 1 commit
-
-
Masahiro Yamada authored
Running 'make nsdeps' in a clean source tree fails as follows: $ make -s clean; make -s defconfig; make nsdeps [ snip ] awk: fatal: cannot open file `init/modules.order' for reading (No such file or directory) make: *** [Makefile;1307: modules.order] Error 2 make: *** Deleting file 'modules.order' make: *** Waiting for unfinished jobs.... The cause of the error is 'make nsdeps' does not build modules at all. Set KBUILD_MODULES to fix it. Reviewed-by:
Matthias Maennich <maennich@google.com> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by:
Jessica Yu <jeyu@kernel.org>
-