summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2020-04-13Linux 4.4.219Greg Kroah-Hartman
2020-04-02Linux 4.4.218Greg Kroah-Hartman
2020-03-20Linux 4.4.217Greg Kroah-Hartman
2020-03-11Linux 4.4.216Greg Kroah-Hartman
2020-02-28Linux 4.4.215Greg Kroah-Hartman
2020-02-14Linux 4.4.214Greg Kroah-Hartman
2020-02-05Linux 4.4.213Greg Kroah-Hartman
2020-01-29Linux 4.4.212Greg Kroah-Hartman
2020-01-23Linux 4.4.211Greg Kroah-Hartman
2020-01-14Linux 4.4.210Greg Kroah-Hartman
2020-01-12Linux 4.4.209Greg Kroah-Hartman
2020-01-04Linux 4.4.208Greg Kroah-Hartman
2019-12-21Linux 4.4.207Greg Kroah-Hartman
2019-12-21kbuild: fix single target build for external moduleMasahiro Yamada
[ Upstream commit e07db28eea38ed4e332b3a89f3995c86b713cb5b ] Building a single target in an external module fails due to missing .tmp_versions directory. For example, $ make -C /lib/modules/$(uname -r)/build M=$PWD foo.o will fail in the following way: CC [M] /home/masahiro/foo/foo.o /bin/sh: 1: cannot create /home/masahiro/foo/.tmp_versions/foo.mod: Directory nonexistent This is because $(cmd_crmodverdir) is executed only before building /, %/, %.ko single targets of external modules. Create .tmp_versions in the 'prepare' target. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05Linux 4.4.206Greg Kroah-Hartman
2019-11-29Linux 4.4.205Greg Kroah-Hartman
2019-11-28Linux 4.4.204Greg Kroah-Hartman
2019-11-25Linux 4.4.203Greg Kroah-Hartman
2019-11-16Linux 4.4.202Greg Kroah-Hartman
2019-11-12Linux 4.4.201Greg Kroah-Hartman
2019-11-10Linux 4.4.200Greg Kroah-Hartman
2019-11-10kbuild: add -fcf-protection=none when using retpoline flagsSeth Forshee
[ Upstream commit 29be86d7f9cb18df4123f309ac7857570513e8bc ] The gcc -fcf-protection=branch option is not compatible with -mindirect-branch=thunk-extern. The latter is used when CONFIG_RETPOLINE is selected, and this will fail to build with a gcc which has -fcf-protection=branch enabled by default. Adding -fcf-protection=none when building with retpoline enabled prevents such build failures. Signed-off-by: Seth Forshee <seth.forshee@canonical.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-06Linux 4.4.199Greg Kroah-Hartman
2019-10-29Linux 4.4.198Greg Kroah-Hartman
2019-10-17Linux 4.4.197Greg Kroah-Hartman
2019-10-07Linux 4.4.196Greg Kroah-Hartman
2019-10-05Linux 4.4.195Greg Kroah-Hartman
2019-09-21Linux 4.4.194Greg Kroah-Hartman
2019-09-16Linux 4.4.193Greg Kroah-Hartman
2019-09-10Linux 4.4.192Greg Kroah-Hartman
2019-09-06Linux 4.4.191Greg Kroah-Hartman
2019-08-25Linux 4.4.190Greg Kroah-Hartman
2019-08-11Linux 4.4.189Greg Kroah-Hartman
2019-08-06Linux 4.4.188Greg Kroah-Hartman
2019-08-04Linux 4.4.187Greg Kroah-Hartman
2019-07-21Linux 4.4.186Greg Kroah-Hartman
2019-07-10Linux 4.4.185Greg Kroah-Hartman
2019-07-10gcc-9: silence 'address-of-packed-member' warningLinus Torvalds
commit 6f303d60534c46aa1a239f29c321f95c83dda748 upstream. We already did this for clang, but now gcc has that warning too. Yes, yes, the address may be unaligned. And that's kind of the point. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-06-27Linux 4.4.184Greg Kroah-Hartman
2019-06-22Linux 4.4.183Greg Kroah-Hartman
2019-06-17Linux 4.4.182Greg Kroah-Hartman
2019-06-11Linux 4.4.181Greg Kroah-Hartman
2019-05-16Linux 4.4.180Greg Kroah-Hartman
2019-04-27Linux 4.4.179Greg Kroah-Hartman
2019-04-27Revert "kbuild: use -Oz instead of -Os when using clang"Matthias Kaehlcke
commit a75bb4eb9e565b9f5115e2e8c07377ce32cbe69a upstream. The clang option -Oz enables *aggressive* optimization for size, which doesn't necessarily result in smaller images, but can have negative impact on performance. Switch back to the less aggressive -Os. This reverts commit 6748cb3c299de1ffbe56733647b01dbcc398c419. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-27kbuild: clang: choose GCC_TOOLCHAIN_DIR not on LDNick Desaulniers
commit ad15006cc78459d059af56729c4d9bed7c7fd860 upstream. This causes an issue when trying to build with `make LD=ld.lld` if ld.lld and the rest of your cross tools aren't in the same directory (ex. /usr/local/bin) (as is the case for Android's build system), as the GCC_TOOLCHAIN_DIR then gets set based on `which $(LD)` which will point where LLVM tools are, not GCC/binutils tools are located. Instead, select the GCC_TOOLCHAIN_DIR based on another tool provided by binutils for which LLVM does not provide a substitute for, such as elfedit. Fixes: 785f11aa595b ("kbuild: Add better clang cross build support") Link: https://github.com/ClangBuiltLinux/linux/issues/341 Suggested-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Tested-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-03Linux 4.4.178Greg Kroah-Hartman
2019-03-23Linux 4.4.177Greg Kroah-Hartman
2019-02-23Linux 4.4.176Greg Kroah-Hartman
2019-02-20Linux 4.4.175Greg Kroah-Hartman