aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.build
AgeCommit message (Expand)AuthorFilesLines
2021-02-25Merge tag 'kbuild-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-1/+0
2021-02-24kbuild: remove deprecated 'always' and 'hostprogs-y/m'Masahiro Yamada1-1/+0
2021-02-23kbuild: lto: postpone objtoolSami Tolvanen1-20/+2
2021-02-23tracing: add support for objtool mcountSami Tolvanen1-0/+3
2021-01-14kbuild: lto: fix module versioningSami Tolvanen1-2/+31
2021-01-14kbuild: add support for Clang LTOSami Tolvanen1-1/+8
2021-01-08tracing: move function tracer options to KconfigSami Tolvanen1-4/+2
2020-12-06kbuild: avoid split lines in .mod filesMasahiro Yamada1-8/+4
2020-10-21treewide: remove DISABLE_LTOSami Tolvanen1-1/+1
2020-08-10kbuild: sort hostprogs before passing it to ifneqMasahiro Yamada1-1/+4
2020-08-10kbuild: move host .so build rules to scripts/gcc-plugins/MakefileMasahiro Yamada1-2/+2
2020-08-10kbuild: always create directories of targetsMasahiro Yamada1-3/+1
2020-07-07kbuild: run the checker after the compilerLuc Van Oostenryck1-2/+2
2020-06-03kbuild: update modules.order only when contained modules are updatedMasahiro Yamada1-8/+13
2020-06-01kbuild: refactor tagets caluculation for KBUILD_{BUILTIN,KBUILD_MODULES}Masahiro Yamada1-13/+12
2020-05-26kbuild: make modules.order rule consistent with built-in.aMasahiro Yamada1-4/+6
2020-05-26kbuild: rename subdir-obj-y to subdir-builtinMasahiro Yamada1-4/+5
2020-05-26kbuild: move subdir-obj-y to scripts/Makefile.buildMasahiro Yamada1-0/+2
2020-05-26kbuild: clear KBUILD_MODULES in top Makefile if CONFIG_MODULES=nMasahiro Yamada1-1/+1
2020-05-26kbuild: remove ifdef builtin-target / lib-targetMasahiro Yamada1-8/+2
2020-05-17kbuild: add infrastructure to build userspace programsMasahiro Yamada1-0/+6
2020-04-09kbuild: link lib-y objects to vmlinux forcibly when CONFIG_MODULES=yMasahiro Yamada1-17/+0
2020-04-09gcc-plugins: drop support for GCC <= 4.7Masahiro Yamada1-1/+1
2020-02-04kbuild: rename hostprogs-y/always to hostprogs/always-yMasahiro Yamada1-3/+5
2020-01-07kbuild: use pattern rule for building built-in.a in sub-directoriesMasahiro Yamada1-1/+1
2020-01-07kbuild: do not create orphan built-in.a or obj-y objectsMasahiro Yamada1-1/+1
2019-11-15kbuild: remove header compile testMasahiro Yamada1-9/+0
2019-11-11kbuild: make single target builds much fasterMasahiro Yamada1-1/+4
2019-11-11kbuild: reduce KBUILD_SINGLE_TARGETS as descending into subdirectoriesMasahiro Yamada1-3/+3
2019-10-01kbuild: remove ar-option and KBUILD_ARFLAGSMasahiro Yamada1-1/+1
2019-09-06kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to KBUILD_EXTRA_WARNMasahiro Yamada1-1/+1
2019-08-22kbuild: move modkern_{c,a}flags to Makefile.lib from Makefile.buildMasahiro Yamada1-13/+0
2019-08-22kbuild: add CONFIG_ASM_MODVERSIONSMasahiro Yamada1-6/+1
2019-08-21kbuild: make single targets work more correctlyMasahiro Yamada1-6/+39
2019-08-15kbuild: fix modkern_aflags implementationMasahiro Yamada1-4/+3
2019-08-15kbuild: refactor part-of-module moreMasahiro Yamada1-2/+1
2019-08-14kbuild: use $(basename ...) for cmd_asn1_compilerMasahiro Yamada1-2/+2
2019-08-10kbuild: show hint if subdir-y/m is used to visit module MakefileMasahiro Yamada1-0/+7
2019-08-10kbuild: generate modules.order only in directories visited by obj-y/mMasahiro Yamada1-1/+2
2019-08-10kbuild: fix false-positive need-builtin calculationMasahiro Yamada1-1/+2
2019-07-18kbuild: split out *.mod out of {single,multi}-used-m rulesMasahiro Yamada1-9/+13
2019-07-18kbuild: remove the first line of *.mod filesMasahiro Yamada1-2/+2
2019-07-18kbuild: create *.mod with full directory path and remove MODVERDIRMasahiro Yamada1-12/+3
2019-07-17kbuild: remove duplication from modules.order in sub-directoriesMasahiro Yamada1-6/+3
2019-07-17kbuild: get rid of kernel/ prefix from in-tree modules.{order,builtin}Masahiro Yamada1-1/+1
2019-07-17kbuild: do not create empty modules.order in the prepare stageMasahiro Yamada1-1/+1
2019-07-17kbuild: compile-test headers listed in header-test-m as wellMasahiro Yamada1-1/+1
2019-07-11kbuild: replace KBUILD_SRCTREE with boolean building_out_of_srctreeMasahiro Yamada1-1/+1
2019-07-09kbuild: do not create wrappers for header-test-yMasahiro Yamada1-5/+5
2019-06-15kbuild: add support for ensuring headers are self-containedJani Nikula1-0/+9
2019-05-08Merge tag 'kbuild-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-1/+1
2019-04-03objtool: Add UACCESS validationPeter Zijlstra1-0/+3
2019-04-02kbuild: use $(srctree) instead of KBUILD_SRC to check out-of-tree buildMasahiro Yamada1-1/+1
2019-03-28kbuild: strip whitespace in cmd_record_mcount findstringJoe Lawrence1-5/+2
2019-03-14kbuild: move archive command to scripts/Makefile.libMasahiro Yamada1-5/+1
2019-02-27kbuild: hardcode genksyms path and remove GENKSYMS variableMasahiro Yamada1-2/+2
2019-02-20kbuild: generate modules.order only when CONFIG_MODULES=yMasahiro Yamada1-0/+2
2019-02-20kbuild: Disable extra debugging info in .s outputMasahiro Yamada1-1/+1
2019-01-28kbuild: remove unnecessary in-subshell executionMasahiro Yamada1-2/+2
2019-01-28kbuild: add real-prereqs shorthand for $(filter-out FORCE,$^)Masahiro Yamada1-3/+6
2019-01-28kbuild: remove top-level built-in.aMasahiro Yamada1-6/+2
2018-12-29Merge tag 'kbuild-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-79/+49
2018-12-17kbuild: handle part-of-module correctly for *.ll and *.symtypesMasahiro Yamada1-1/+1
2018-12-17kbuild: refactor part-of-moduleMasahiro Yamada1-5/+3
2018-12-17kbuild: refactor quiet_modtagMasahiro Yamada1-6/+1
2018-12-17kbuild: remove redundant quiet_modtag for $(obj-m)Masahiro Yamada1-2/+0
2018-12-02kbuild: move .SECONDARY special target to Kbuild.includeMasahiro Yamada1-4/+0
2018-12-01kbuild: remove redundant 'set -e' from cmd_* definesMasahiro Yamada1-2/+0
2018-12-01kbuild: remove trailing semicolon from cmd_* passed to if_changed_ruleMasahiro Yamada1-8/+8
2018-12-01kbuild: change if_changed_rule for multi-line recipeMasahiro Yamada1-11/+11
2018-12-01kbuild: simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMSMasahiro Yamada1-0/+7
2018-12-01kbuild: refactor modversions build rulesMasahiro Yamada1-37/+17
2018-12-01kbuild: remove redundant 'set -e' from sub_cmd_record_mcountMasahiro Yamada1-1/+1
2018-12-01kbuild: let fixdep directly write to .*.cmd filesMasahiro Yamada1-7/+5
2018-11-28x86/retpoline: Make CONFIG_RETPOLINE depend on compiler supportZhenzhong Duan1-2/+0
2018-10-28Merge tag 'kbuild-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-36/+8
2018-10-19kbuild: use 'else ifeq' for checksrc to improve readabilityMasahiro Yamada1-8/+6
2018-10-19kbuild: remove unneeded link_multi_depsMasahiro Yamada1-18/+2
2018-09-19ftrace: Build with CPPFLAGS to get -Qunused-argumentsJoel Stanley1-1/+1
2018-09-13kbuild: remove old check for CFLAGS useMasahiro Yamada1-10/+0
2018-08-30objtool: Remove workaround for unreachable warnings from old GCCMasahiro Yamada1-2/+0
2018-08-24kbuild: rename LDFLAGS to KBUILD_LDFLAGSMasahiro Yamada1-3/+3
2018-08-24kbuild: pass LDFLAGS to recordmcount.plMasahiro Yamada1-1/+1
2018-08-20Merge tag 'trace-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-6/+3
2018-08-15tracing: Avoid calling cc-option -mrecord-mcount for every MakefileVasily Gorbik1-6/+3
2018-08-09kbuild: remove deprecated host-progs variableMasahiro Yamada1-7/+0
2018-07-06kbuild: remove duplicated comments about PHONYMasahiro Yamada1-3/+0
2018-06-21tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcountGreg Thelen1-1/+1
2018-06-06Merge tag 'trace-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-0/+6
2018-05-28trace: Use -mcount-record for dynamic ftraceAndi Kleen1-0/+6
2018-05-17kbuild: remove CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIXMasahiro Yamada1-6/+1
2018-05-17genksyms: remove symbol prefix supportMasahiro Yamada1-2/+0
2018-04-07kbuild: mark $(targets) as .SECONDARY and remove .PRECIOUS markersMasahiro Yamada1-3/+7
2018-04-07kbuild: rename *-asn1.[ch] to *.asn1.[ch]Masahiro Yamada1-2/+2
2018-04-07kbuild: add %.dtb.S and %.dtb to 'targets' automaticallyMasahiro Yamada1-1/+3
2018-04-07kbuild: add %.lex.c and %.tab.[ch] to 'targets' automaticallyMasahiro Yamada1-0/+11
2018-03-26kbuild: clean up link rule of composite modulesMasahiro Yamada1-3/+1
2018-03-26kbuild: clean up archive rule of built-in.aMasahiro Yamada1-9/+4
2018-03-26kbuild: remove partial section mismatch detection for built-in.aMasahiro Yamada1-2/+1
2018-03-26kbuild: link $(real-obj-y) instead of $(obj-y) into built-in.aMasahiro Yamada1-14/+7
2018-03-26kbuild: rename real-objs-y/m to real-obj-y/mMasahiro Yamada1-12/+12
2018-03-26kbuild: move modname and modname-multi close to modname_flagsMasahiro Yamada1-2/+0
2018-03-26kbuild: simplify modname calculationMasahiro Yamada1-11/+1
2018-03-26kbuild: rename built-in.o to built-in.aNicholas Piggin1-5/+5
2018-03-26kbuild: remove incremental linking optionNicholas Piggin1-21/+11
2018-03-26kbuild: Improve portability of some sed invocationsMichael Forney1-1/+1
2018-02-21objtool, retpolines: Integrate objtool with retpoline support more closelyPeter Zijlstra1-0/+2
2018-02-21objtool: Add module specific retpoline rulesPeter Zijlstra1-0/+2
2018-02-21objtool: Add retpoline validationPeter Zijlstra1-0/+4
2018-01-17Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+10
2018-01-16objtool: Fix seg fault with gold linkerJosh Poimboeuf1-4/+10
2017-12-17Merge commit 'upstream-x86-entry' into WIP.x86/mmIngo Molnar1-1/+1
2017-11-25Merge tag 'kbuild-v4.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-2/+2
2017-11-23Merge tag 'docs-4.15-2' of git://git.lwn.net/linuxLinus Torvalds1-0/+5
2017-11-20Add optional check for bad kernel-doc commentsMatthew Wilcox1-0/+5
2017-11-18kbuild: create built-in.o automatically if parent directory wants itMasahiro Yamada1-2/+2
2017-11-17Merge tag 'kbuild-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-12/+13
2017-11-16kbuild: optimize object directory creation for incremental buildMasahiro Yamada1-0/+5
2017-11-16kbuild: create object directories simpler and fasterMasahiro Yamada1-9/+6
2017-11-16kbuild: filter-out PHONY targets from "targets"Masahiro Yamada1-1/+1
2017-11-16kbuild: remove redundant $(wildcard ...) for cmd_files calculationMasahiro Yamada1-2/+1
2017-11-07Merge branch 'linus' into x86/asm, to pick up fixes and resolve conflictsIngo Molnar1-1/+2
2017-11-02Kbuild: don't pass "-C" to preprocessor when processing linker scriptsLinus Torvalds1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-14x86/unwind: Rename unwinder config options to 'CONFIG_UNWINDER_*'Josh Poimboeuf1-1/+1
2017-09-28objtool: Skip unreachable warnings for GCC 4.4 and olderJosh Poimboeuf1-0/+2
2017-09-04Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-4/+13
2017-08-10kbuild: trivial cleanups on the commentsCao jin1-4/+4
2017-07-26x86/unwind: Add the ORC unwinderJosh Poimboeuf1-4/+10
2017-07-25objtool: Fix gcov check for older versions of GCCJosh Poimboeuf1-0/+3
2017-06-30kbuild: thin archives use P option to arNicholas Piggin1-4/+4
2017-05-03objtool: make it visible in make V=1 outputJiri Slaby1-2/+2
2017-04-25kbuild: Add support to generate LLVM assembly filesVinícius Tinti1-0/+8
2017-02-03kbuild: modversions: add infrastructure for emitting relative CRCsArd Biesheuvel1-0/+2
2016-12-17Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-5/+12
2016-12-11kbuild: cmd_export_list: tighten the sed scriptNicolas Pitre1-1/+1
2016-11-29kbuild: improve linker compatibility with lib-ksyms.o buildNicholas Piggin1-1/+1
2016-11-29kbuild: thin archives for multi-y targetsNicholas Piggin1-3/+10
2016-11-09kbuild: be more careful about matching preprocessed asm ___EXPORT_SYMBOLNicholas Piggin1-2/+2
2016-11-01kbuild: modversions for EXPORT_SYMBOL() for asmNicholas Piggin1-6/+72
2016-10-22kbuild: prevent lib-ksyms.o rebuildsNicholas Piggin1-0/+3
2016-09-09kbuild: allow architectures to use thin archives instead of ld -rStephen Rothwell1-4/+19
2016-08-07[kbuild] handle exports in lib-y objects reliablyAl Viro1-0/+20
2016-06-07Shared library supportEmese Revfy1-1/+1
2016-04-20kbuild: rename cmd_as_s_S to cmd_cpp_s_SMasahiro Yamada1-3/+3
2016-04-20kbuild: rename cmd_cc_i_c to cmd_cpp_i_cMasahiro Yamada1-3/+3
2016-03-29kbuild: de-duplicate fixdep usageNicolas Pitre1-14/+5
2016-03-29kbuild: record needed exported symbols for modulesNicolas Pitre1-2/+11
2016-03-05objtool: Detect and warn if libelf is missing and don't break the buildJosh Poimboeuf1-0/+2
2016-02-29objtool: Add CONFIG_STACK_VALIDATION optionJosh Poimboeuf1-4/+35
2015-11-25kbuild: Allow to specify composite modules with modname-mMichal Marek1-2/+6
2015-01-29ftrace: allow architectures to specify ftrace compile optionsHeiko Carstens1-2/+3
2014-10-02kbuild: remove obj-n and lib-n handlingMasahiro Yamada1-2/+2
2014-08-19kbuild: handle multi-objs dependency appropriatelyMasahiro Yamada1-6/+4
2014-04-30kbuild: trivial - remove trailing spacesMasahiro Yamada1-2/+2
2014-04-16kbuild: move extra gcc checks to scripts/Makefile.extrawarnMasahiro Yamada1-61/+0
2014-04-09kbuild: LLVMLinux: Adapt warnings for compilation with clangJan-Simon Möller1-1/+11
2014-02-13Kbuild, lto: Disable LTO for asm-offsets.cAndi Kleen1-1/+1
2013-03-20genksyms: pass symbol-prefix instead of archJames Hogan1-1/+2
2012-10-08X.509: Add simple ASN.1 grammar compilerDavid Howells1-0/+11
2012-01-26kbuild: disable -Wmissing-field-initializers for W=1Kirill A. Shutemov1-0/+2
2011-08-31scripts/Makefile.build: do not reference EXTRA_CFLAGS as CFLAGS replacementArnaud Lacombe1-1/+1
2011-05-24Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek...Linus Torvalds1-29/+45
2011-05-19ftrace/kbuild: Add recordmcount files to force full buildMichal Marek1-2/+5
2011-05-16kbuild/recordmcount: Add RECORDMCOUNT_WARN to warn about mcount callersSteven Rostedt1-1/+4
2011-05-02kbuild: Allow to combine multiple W= levelsMichal Marek1-2/+6
2011-04-29kbuild: Disable -Wunused-but-set-variable for gcc 4.6.0Dave Jones1-0/+1
2011-04-28kbuild: implement several W= levelsSam Ravnborg1-27/+38
2011-04-20kbuild: Fix build with binutils <= 2.19Michal Marek1-2/+2
2011-04-18kbuild: Use the deterministic mode of arMichal Marek1-2/+2
2011-03-09kbuild: Add extra gcc checksBorislav Petkov1-1/+34
2010-11-18ftrace: Speed up recordmcountWu Zhangjin1-4/+9
2010-10-21Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-armLinus Torvalds1-1/+2
2010-10-18ftrace: Remove recursion between recordmcount and scripts/mod/emptySteven Rostedt1-1/+7
2010-10-15ftrace: Use objtree for C version of recordmcountSteven Rostedt1-1/+1
2010-10-14ftrace/x86: Add support for C version of recordmcountSteven Rostedt1-0/+4
2010-09-02ARM: 6317/1: ftrace: pass KBUILD_CFLAGS to record_mcount.plRabin Vincent1-1/+2
2010-08-03kbuild: allow assignment to {A,C}FLAGS_KERNEL on the command lineSam Ravnborg1-2/+2
2010-08-03kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command lineSam Ravnborg1-3/+6
2010-06-04Makefile.build: make KBUILD_SYMTYPES work againDon Zickus1-13/+13
2010-02-02kbuild: Fix linking error built-in.o no such file or directoryJiafu He1-1/+1
2009-12-17MIPS: Tracing: Add an endian argument to scripts/recordmcount.plWu Zhangjin1-0/+1
2009-09-21kbuild: Don't define ALIGN and ENTRY when preprocessing linker scripts.Tim Abbott1-1/+1
2009-09-20arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0Sam Ravnborg1-1/+2
2009-09-20kbuild: fail build if recordmcount.pl failsAndi Kleen1-1/+1
2009-09-20kbuild: echo the record_mcount commandAndi Kleen1-0/+1
2009-04-19kbuild: introduce subdir-ccflags-ySam Ravnborg1-0/+3
2009-02-03Merge branches 'tracing/ftrace', 'tracing/kmemtrace' and 'linus' into tracing...Ingo Molnar1-35/+20
2009-01-14Revert "kbuild: strip generated symbols from *.ko"Sam Ravnborg1-35/+20
2009-01-14ftrace, ia64: make recordmcount distinct module compileShaohua Li1-6/+7
2008-12-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-nextLinus Torvalds1-24/+43
2008-12-19kbuild: strip generated symbols from *.koJan Beulich1-20/+35
2008-12-19kbuild: simplify use of genksymsSam Ravnborg1-18/+12
2008-12-03genksyms: track symbol checksum changesAndreas Gruenbacher1-3/+13
2008-10-31ftrace, kbuild: condense recordmcount.pl parameter codeSteven Rostedt1-9/+3
2008-10-23ftrace: handle generic arch callsSteven Rostedt1-2/+8
2008-10-14kbuild: ftrace: don't assume that scripts/recordmcount.pl is executableAndrew Morton1-2/+3
2008-10-14ftrace: fix build problem with CONFIG_FTRACEJeremy Fitzhardinge1-1/+1
2008-10-14ftrace: create __mcount_loc sectionSteven Rostedt1-0/+6
2008-04-25kbuild: fix some minor typoesRobert P. J. Day1-3/+3