summaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)Author
2020-04-08Linux 5.4.31v5.4.31Greg Kroah-Hartman
2020-04-02Linux 5.4.30v5.4.30Greg Kroah-Hartman
2020-04-01Linux 5.4.29v5.4.29Greg Kroah-Hartman
2020-03-25Linux 5.4.28v5.4.28Greg Kroah-Hartman
2020-03-21Linux 5.4.27v5.4.27Greg Kroah-Hartman
2020-03-21kbuild: add dt_binding_check to PHONY in a correct placeMasahiro Yamada
[ Upstream commit c473a8d03ea8e03ca9d649b0b6d72fbcf6212c05 ] 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>
2020-03-21kbuild: add dtbs_check to PHONYMasahiro Yamada
[ Upstream commit 964a596db8db8c77c9903dd05655696696e6b3ad ] 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>
2020-03-18Linux 5.4.26v5.4.26Greg Kroah-Hartman
2020-03-12Linux 5.4.25v5.4.25Greg Kroah-Hartman
2020-03-05Linux 5.4.24v5.4.24Greg Kroah-Hartman
2020-03-05kbuild: make single target builds even fasterMasahiro Yamada
commit b1fbfcb4a20949df08dd995927cdc5ad220c128d upstream. Commit 2dffd23f81a3 ("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>
2020-03-05kbuild: remove unneeded variable, single-allMasahiro Yamada
commit 35e046a203ee3bc8ba9ae3561b50de02646dfb81 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>
2020-03-05kbuild: move headers_check rule to usr/include/MakefileMasahiro Yamada
commit 7ecaf069da52e472d393f03e79d721aabd724166 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>
2020-03-05kbuild: remove header compile testMasahiro Yamada
commit fcbb8461fd2376ba3782b5b8bd440c929b8e4980 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>
2020-02-28Linux 5.4.23v5.4.23Greg Kroah-Hartman
2020-02-24Linux 5.4.22v5.4.22Greg Kroah-Hartman
2020-02-19Linux 5.4.21v5.4.21Greg Kroah-Hartman
2020-02-14Linux 5.4.20v5.4.20Greg Kroah-Hartman
2020-02-11Linux 5.4.19v5.4.19Greg Kroah-Hartman
2020-02-05Linux 5.4.18v5.4.18Greg Kroah-Hartman
2020-02-01Linux 5.4.17v5.4.17Greg Kroah-Hartman
2020-01-29Linux 5.4.16v5.4.16Greg Kroah-Hartman
2020-01-26Linux 5.4.15v5.4.15Greg Kroah-Hartman
2020-01-23Linux 5.4.14v5.4.14Greg Kroah-Hartman
2020-01-17Linux 5.4.13v5.4.13Greg Kroah-Hartman
2020-01-14Linux 5.4.12v5.4.12Greg Kroah-Hartman
2020-01-12Linux 5.4.11v5.4.11Greg Kroah-Hartman
2020-01-09Linux 5.4.10v5.4.10Greg Kroah-Hartman
2020-01-09Linux 5.4.9v5.4.9Greg Kroah-Hartman
2020-01-04Linux 5.4.8v5.4.8Greg Kroah-Hartman
2019-12-31Linux 5.4.7v5.4.7Greg Kroah-Hartman
2019-12-21Linux 5.4.6v5.4.6Greg Kroah-Hartman
2019-12-18Linux 5.4.5v5.4.5Greg Kroah-Hartman
2019-12-17Linux 5.4.4v5.4.4Greg Kroah-Hartman
2019-12-13Linux 5.4.3v5.4.3Greg Kroah-Hartman
2019-12-04Linux 5.4.2v5.4.2Greg Kroah-Hartman
2019-11-29Linux 5.4.1v5.4.1Greg Kroah-Hartman
2019-11-24Linux 5.4v5.4Linus Torvalds
2019-11-17Linux 5.4-rc8v5.4-rc8Linus Torvalds
2019-11-15kbuild: tell sparse about the $ARCHLuc Van Oostenryck
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>
2019-11-10Linux 5.4-rc7v5.4-rc7Linus Torvalds
2019-11-03Linux 5.4-rc6v5.4-rc6Linus Torvalds
2019-10-27Linux 5.4-rc5v5.4-rc5Linus Torvalds
2019-10-20Linux 5.4-rc4v5.4-rc4Linus Torvalds
2019-10-15kbuild: update comment about KBUILD_ALLDIRSMasahiro Yamada
Commit 000ec95fbe75 ("kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package") missed to update this comment. Fixes: 000ec95fbe75 ("kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-10-13Linux 5.4-rc3v5.4-rc3Linus Torvalds
2019-10-11Merge tag 'modules-for-v5.4-rc3' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux Pull module fixes from Jessica Yu: "Code cleanups and kbuild/namespace related fixups from Masahiro. Most importantly, it fixes a namespace-related modpost issue for external module builds - Fix broken external module builds due to a modpost bug in read_dump(), where the namespace was not being strdup'd and sym->namespace would be set to bogus data. - Various namespace-related kbuild fixes and cleanups thanks to Masahiro Yamada" * tag 'modules-for-v5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux: doc: move namespaces.rst from kbuild/ to core-api/ nsdeps: make generated patches independent of locale nsdeps: fix hashbang of scripts/nsdeps kbuild: fix build error of 'make nsdeps' in clean tree module: rename __kstrtab_ns_* to __kstrtabns_* to avoid symbol conflict modpost: fix broken sym->namespace for external module builds module: swap the order of symbol.namespace scripts: add_namespace: Fix coccicheck failed
2019-10-08Merge tag 'linux-kselftest-5.4-rc3' of ↵Linus Torvalds
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest Pull Kselftest fixes from Shuah Khan: "Fixes for existing tests and the framework. Cristian Marussi's patches add the ability to skip targets (tests) and exclude tests that didn't build from run-list. These patches improve the Kselftest results. Ability to skip targets helps avoid running tests that aren't supported in certain environments. As an example, bpf tests from mainline aren't supported on stable kernels and have dependency on bleeding edge llvm. Being able to skip bpf on systems that can't meet this llvm dependency will be helpful. Kselftest can be built and installed from the main Makefile. This change help simplify Kselftest use-cases which addresses request from users. Kees Cook added per test timeout support to limit individual test run-time" * tag 'linux-kselftest-5.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest: selftests: watchdog: Add command line option to show watchdog_info selftests: watchdog: Validate optional file argument selftests/kselftest/runner.sh: Add 45 second timeout per test kselftest: exclude failed TARGETS from runlist kselftest: add capability to skip chosen TARGETS selftests: Add kselftest-all and kselftest-install targets
2019-10-07kbuild: fix build error of 'make nsdeps' in clean treeMasahiro Yamada
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>
2019-10-06Linux 5.4-rc2v5.4-rc2Linus Torvalds