- 17 Apr, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 13 Apr, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 08 Apr, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 02 Apr, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 01 Apr, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 25 Mar, 2020 2 commits
-
-
Greg Kroah-Hartman authored
-
Greg Kroah-Hartman authored
-
- 21 Mar, 2020 3 commits
-
-
Greg Kroah-Hartman authored
-
Masahiro Yamada authored
[ Upstream commit c473a8d0 ] The dt_binding_check is added to PHONY, but it is invisible when $(dtstree) is empty. So, it is not specified as phony for ARCH=x86 etc. Add it to PHONY outside the ifneq ... endif block. Signed-off-by:
Masahiro Yamada <masahiroy@kernel.org> Acked-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
-
Masahiro Yamada authored
[ Upstream commit 964a596d ] The dtbs_check should be a phony target, but currently it is not specified so. 'make dtbs_check' works even if a file named 'dtbs_check' exists because it depends on another phony target, scripts_dtc, but we should not rely on it. Add dtbs_check to PHONY. Signed-off-by:
Masahiro Yamada <masahiroy@kernel.org> Acked-by:
Rob Herring <robh@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
-
- 18 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 12 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Mar, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 28 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 24 Feb, 2020 2 commits
-
-
Greg Kroah-Hartman authored
-
Masahiro Yamada authored
[ Upstream commit f566e1fb ] Currently, the single-target build does not work when two or more sub-directories are given: $ make fs/ kernel/ lib/ CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh DESCEND objtool make[2]: Nothing to be done for 'kernel/'. make[2]: Nothing to be done for 'fs/'. make[2]: Nothing to be done for 'lib/'. Make it work properly. Reported-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Masahiro Yamada <masahiroy@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
-
- 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
-
- 04 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 01 Feb, 2020 1 commit
-
-
Greg Kroah-Hartman authored
-
- 27 Jan, 2020 1 commit
-
-
Linus Torvalds authored
-
- 20 Jan, 2020 1 commit
-
-
Linus Torvalds authored
-
- 13 Jan, 2020 1 commit
-
-
Linus Torvalds authored
-
- 05 Jan, 2020 1 commit
-
-
Linus Torvalds authored
-
- 29 Dec, 2019 1 commit
-
-
Linus Torvalds authored
-
- 23 Dec, 2019 1 commit
-
-
Linus Torvalds authored
-
- 15 Dec, 2019 1 commit
-
-
Linus Torvalds authored
-
- 14 Dec, 2019 1 commit
-
-
Dmitry Golovin authored
Introduce a new READELF variable to top-level Makefile, so the name of readelf binary can be specified. Before this change the name of the binary was hardcoded to "$(CROSS_COMPILE)readelf" which might not be present for every toolchain. This allows to build with LLVM Object Reader by using make parameter READELF=llvm-readelf. Link: https://github.com/ClangBuiltLinux/linux/issues/771 Signed-off-by:
Dmitry Golovin <dima@golovin.in> Reviewed-by:
Nick Desaulniers <ndesaulniers@google.com> Signed-off-by:
Masahiro Yamada <masahiroy@kernel.org>
-
- 08 Dec, 2019 1 commit
-
-
Linus Torvalds authored
-
- 25 Nov, 2019 1 commit
-
-
Linus Torvalds authored
-
- 23 Nov, 2019 1 commit
-
-
Masahiro Yamada authored
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>
-
- 17 Nov, 2019 1 commit
-
-
Linus Torvalds authored
-
- 14 Nov, 2019 3 commits
-
-
Masahiro Yamada authored
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>
-
Masahiro Yamada authored
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>
-
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 4 commits
-
-
Masahiro Yamada authored
scripts/nsdeps is written to take care of only in-tree modules. Perhaps, this is not a bug, but just a design. At least, Documentation/core-api/symbol-namespaces.rst focuses on in-tree modules. Having said that, some people already tried nsdeps for external modules. So, it would be nice to support it. Reported-by:
Steve French <smfrench@gmail.com> Reported-by:
Jessica Yu <jeyu@kernel.org> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Jessica Yu <jeyu@kernel.org> Acked-by:
Jessica Yu <jeyu@kernel.org> Reviewed-by:
Matthias Maennich <maennich@google.com> Tested-by:
Matthias Maennich <maennich@google.com>
-
Masahiro Yamada authored
The modpost, with the -d option given, generates per-module .ns_deps files. Kbuild generates per-module .mod files to carry module information. This is convenient because Make handles multiple jobs in parallel when the -j option is given. On the other hand, the modpost always runs as a single thread. I do not see a strong reason to produce separate .ns_deps files. This commit changes the modpost to generate just one file, modules.nsdeps, each line of which has the following format: <module_name>: <list of missing namespaces> Please note it contains *missing* namespaces instead of required ones. So, modules.nsdeps is empty if the namespace dependency is all good. This will work more efficiently because spatch will no longer process already imported namespaces. I removed the '(if needed)' from the nsdeps log since spatch is invoked only when needed. This also solves the stale .ns_deps problem reported by Jessica Yu: https://lkml.org/lkml/2019/10/28/467 Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Jessica Yu <jeyu@kernel.org> Acked-by:
Jessica Yu <jeyu@kernel.org> Reviewed-by:
Matthias Maennich <maennich@google.com> Tested-by:
Matthias Maennich <maennich@google.com>
-
Masahiro Yamada authored
'make nsdeps' invokes the modpost three times at most; before linking vmlinux, before building modules, and finally for generating .ns_deps files. Running the modpost again and again is not efficient. The last two can be unified. When the -d option is given, the modpost still does the usual job, and in addition, generates .ns_deps files. Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by:
Matthias Maennich <maennich@google.com> Reviewed-by:
Matthias Maennich <maennich@google.com>
-
Geert Uytterhoeven authored
There are 6 defconfigs with names longer than 24 characters, breaking alignment in "make help". The "winner" is "ecovec24-romimage_defconfig", counting in at 27 characters. Extend the defconfig field size to 27 to restore alignment. Don't use a larger value, to not encourage people to create even longer defconfig names. Signed-off-by:
Geert Uytterhoeven <geert+renesas@glider.be> Acked-by:
Hans-Christian Egtvedt <egtvedt@samfundet.no> Signed-off-by:
Masahiro Yamada <yamada.masahiro@socionext.com>
-