aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
AgeCommit message (Expand)AuthorFilesLines
2024-03-21Merge tag 'kbuild-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-10/+16
2024-03-12Merge tag 'hardening-v6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+4
2024-03-12Merge tag 'soc-dt-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/socLinus Torvalds1-2/+1
2024-02-29dtc: Enable dtc interrupt_provider checkRob Herring1-2/+1
2024-02-23kbuild: change DTC_FLAGS_<basetarget>.o to take the path relative to $(obj)Masahiro Yamada1-1/+1
2024-02-23kbuild: change tool coverage variables to take the path relative to $(obj)Masahiro Yamada1-8/+8
2024-02-20ubsan: Reintroduce signed overflow sanitizerKees Cook1-0/+3
2024-02-19kbuild: create a list of all built DTB filesMasahiro Yamada1-0/+6
2024-02-14Merge branch 'x86/bugs' into x86/core, to pick up pending changes before depe...Ingo Molnar1-4/+4
2024-02-06ubsan: Remove CONFIG_UBSAN_SANITIZE_ALLKees Cook1-1/+1
2024-01-10x86/bugs: Rename CONFIG_RETHUNK => CONFIG_MITIGATION_RETHUNKBreno Leitao1-1/+1
2024-01-10x86/bugs: Rename CONFIG_SLS => CONFIG_MITIGATION_SLSBreno Leitao1-1/+1
2024-01-10x86/bugs: Rename CONFIG_RETPOLINE => CONFIG_MITIGATION_RETPOLINEBreno Leitao1-1/+1
2024-01-10x86/bugs: Rename CONFIG_CALL_DEPTH_TRACKING => CONFIG_MITIGATION_CALL_DEPTH_...Breno Leitao1-1/+1
2023-12-10kbuild: determine base DTB by suffixMasahiro Yamada1-2/+2
2023-11-17kbuild: Move the single quotes for image nameSimon Glass1-2/+2
2023-05-22kbuild: Disallow DTB overlays to built from .dts named source filesAndrew Davis1-3/+0
2023-01-22kbuild: unify cmd_dt_S_dtb and cmd_dt_S_dtboMasahiro Yamada1-30/+15
2022-12-19Merge tag 'powerpc-6.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-0/+3
2022-12-14Merge tag 'x86_core_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+3
2022-11-18objtool: Add --mnop as an option to --mcountSathvika Vasireddy1-0/+3
2022-11-01x86/ibt: Implement FineIBTPeter Zijlstra1-0/+1
2022-11-01x86: Add prefix symbols for function paddingPeter Zijlstra1-0/+1
2022-10-26Merge branch 'dt/dtbo-rename' into dt/nextRob Herring1-1/+22
2022-10-26kbuild: Allow DTB overlays to built into .dtbo.S filesAndrew Davis1-1/+19
2022-10-26kbuild: Allow DTB overlays to built from .dtso named source filesAndrew Davis1-0/+3
2022-10-21scripts: dtc: only show unique unit address warning for enabled nodesAlexandre Torgue1-4/+8
2022-10-17objtool: Add --hacks=skylakePeter Zijlstra1-0/+1
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+9
2022-10-10Merge tag 'devicetree-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-8/+6
2022-10-10Merge tag 'kbuild-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-15/+18
2022-10-03kmsan: add KMSAN runtime coreAlexander Potapenko1-0/+9
2022-09-29kbuild: list sub-directories in ./KbuildMasahiro Yamada1-0/+2
2022-09-29kbuild: use objtool-args-y to clean up objtool argumentsMasahiro Yamada1-15/+16
2022-09-28Kbuild: add Rust supportMiguel Ojeda1-0/+12
2022-09-27kbuild: take into account DT_SCHEMA_FILES changes while checking dtbsDmitry Baryshkov1-8/+6
2022-06-29x86/retbleed: Add fine grained Kconfig knobsPeter Zijlstra1-0/+1
2022-06-05Merge tag 'objtool-urgent-2022-06-05' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2022-06-05kbuild: factor out the common objtool argumentsMasahiro Yamada1-0/+26
2022-05-29kbuild: do not create *.prelink.o for Clang LTO or IBTMasahiro Yamada1-7/+0
2022-05-08kbuild: make multi_depend work with targets in subdirectoryMasahiro Yamada1-3/+3
2022-05-08kbuild: reuse suffix-search to refactor multi_dependMasahiro Yamada1-1/+1
2022-03-31Merge tag 'kbuild-v5.18-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-10/+6
2022-03-27Merge tag 'x86_core_for_5.18_rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2022-03-22kbuild: Fixup the IBT kbuild changesPeter Zijlstra1-2/+2
2022-03-11dt-bindings: kbuild: Use DTB files for validationRob Herring1-13/+7
2022-03-11dt-bindings: kbuild: Pass DT_SCHEMA_FILES to dt-validateRob Herring1-3/+2
2022-02-15kbuild: replace $(if A,A,B) with $(or A,B)Masahiro Yamada1-2/+2
2022-02-14kbuild: unify cmd_copy and cmd_shippedMasahiro Yamada1-8/+4
2022-01-19Merge tag 'kbuild-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-7/+28
2022-01-14kbuild: add cmd_file_sizeMasahiro Yamada1-0/+3
2022-01-14kbuild: rename cmd_{bzip2,lzma,lzo,lz4,xzkern,zstd22}Masahiro Yamada1-6/+24
2022-01-14kbuild: drop $(size_append) from cmd_zstdMasahiro Yamada1-1/+1
2021-12-09kcsan, kbuild: Add option for barrier instrumentation onlyMarco Elver1-0/+5
2021-11-08Merge tag 'kbuild-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-11/+0
2021-09-22kbuild: move objtool_args back to scripts/Makefile.buildMasahiro Yamada1-11/+0
2021-09-21kbuild: Enable dtc 'unit_address_format' warning by defaultRob Herring1-1/+0
2021-09-03Merge tag 'kbuild-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-6/+12
2021-09-03kbuild: clean up objtool_args slightlyMasahiro Yamada1-6/+5
2021-09-03kbuild: Fix TRIM_UNUSED_KSYMS with LTO_CLANGSami Tolvanen1-0/+7
2021-08-23kbuild: Enable dtc 'pci_device_reg' warning by defaultRob Herring1-2/+1
2021-05-06kbuild: refactor modname-multi by using suffix-searchMasahiro Yamada1-1/+1
2021-05-06kbuild: refactor fdtoverlay ruleMasahiro Yamada1-18/+15
2021-05-06kbuild: parameterize the .o part of suffix-searchMasahiro Yamada1-8/+11
2021-05-02kbuild: add comment about why cmd_shipped uses 'cat'Masahiro Yamada1-0/+3
2021-04-29Merge tag 'kbuild-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-8/+8
2021-04-28Merge tag 'devicetree-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-6/+28
2021-04-25kbuild: move $(strip ) to suffix-search definitionMasahiro Yamada1-3/+3
2021-04-25kbuild: rename multi-used-* to multi-obj-*Masahiro Yamada1-5/+5
2021-03-23kbuild: Add generic rule to apply fdtoverlayRob Herring1-2/+24
2021-03-23kbuild: Simplify builds with CONFIG_OF_ALL_DTBSViresh Kumar1-3/+2
2021-03-16kbuild: Enable DT undocumented compatible checksRob Herring1-1/+2
2021-03-11kbuild: remove meaningless parameter to $(call if_changed_rule,dtc)Masahiro Yamada1-1/+1
2021-03-11kbuild: remove unneeded -O option to dtcMasahiro Yamada1-1/+1
2021-02-25Merge tag 'kbuild-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-23/+15
2021-02-24kbuild: remove deprecated 'always' and 'hostprogs-y/m'Masahiro Yamada1-12/+0
2021-02-23Merge tag 'clang-lto-v5.12-rc1-part2' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+12
2021-02-23kbuild: lto: postpone objtoolSami Tolvanen1-0/+12
2021-02-23Merge tag 'clang-lto-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+4
2021-02-16Kbuild: Make composite object searching more genericElliot Berman1-4/+8
2021-02-16kbuild: use always-y instead of extra-yMasahiro Yamada1-5/+5
2021-02-04kbuild: Add support to build overlays (%.dtbo)Viresh Kumar1-0/+5
2021-01-14init: lto: ensure initcall orderingSami Tolvanen1-2/+4
2020-12-22kasan, arm64: expand CONFIG_KASAN checksAndrey Konovalov1-0/+2
2020-08-19dt-bindings: Use json for processed-schema*Andrei Ziureaev1-1/+1
2020-08-09Merge tag 'kbuild-v5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/masa...Linus Torvalds1-8/+20
2020-08-10kbuild: introduce hostprogs-always-y and userprogs-always-yMasahiro Yamada1-0/+11
2020-08-10kbuild: introduce ccflags-remove-y and asflags-remove-yMasahiro Yamada1-6/+8
2020-07-31init: Add support for zstd compressed kernelNick Terrell1-0/+22
2020-07-07Revert "kbuild: Create directory for target DTB"Masahiro Yamada1-2/+1
2020-06-30dt-bindings: copy process-schema-examples.yaml to process-schema.yamlMasahiro Yamada1-0/+3
2020-06-30scripts/dtc: Update to upstream version v1.6.0-11-g9d7888cbf19cRob Herring1-1/+3
2020-06-13Merge tag 'kbuild-v5.8-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds1-3/+3
2020-06-11Rebase locking/kcsan to locking/urgentThomas Gleixner1-0/+10
2020-06-11kbuild: fix broken builds because of GZIP,BZIP2,LZOP variablesDenis Efremov1-3/+3
2020-06-06kbuild: add variables for compression toolsDenis Efremov1-6/+6
2020-06-03kbuild: update modules.order only when contained modules are updatedMasahiro Yamada1-13/+14
2020-06-01kbuild: refactor subdir-ym calculationMasahiro Yamada1-9/+4
2020-05-26kbuild: make modules.order rule consistent with built-in.aMasahiro Yamada1-0/+2
2020-05-26kbuild: move subdir-obj-y to scripts/Makefile.buildMasahiro Yamada1-5/+0
2020-05-17kbuild: warn if always, hostprogs-y, or hostprogs-m is usedMasahiro Yamada1-1/+11
2020-05-12kbuild: determine the output format of DTC by the target suffixMasahiro Yamada1-3/+3
2020-05-12kbuild: use -MMD instead of -MD to exclude system headers from dependencyMasahiro Yamada1-4/+4
2020-04-23kbuild: fix DT binding schema rule again to avoid needless rebuildsMasahiro Yamada1-1/+1
2020-04-13Merge tag 'v5.7-rc1' into locking/kcsan, to resolve conflicts and refreshIngo Molnar1-1/+2
2020-03-21Merge branch 'linus' into locking/kcsan, to pick up fixesIngo Molnar1-3/+3
2020-03-21Merge branch 'x86/kdump' into locking/kcsan, to resolve conflictsIngo Molnar1-8/+19
2020-03-03kbuild: Always validate DT binding examplesRob Herring1-1/+2
2020-02-27kbuild: remove unneeded semicolon at the end of cmd_dtb_checkMasahiro Yamada1-1/+1
2020-02-27kbuild: fix DT binding schema rule to detect command line changesMasahiro Yamada1-2/+2
2020-02-04kbuild: rename hostprogs-y/always to hostprogs/always-yMasahiro Yamada1-1/+5
2020-01-07kbuild: pass KBUILD_MODFILE when compiling builtin objectsMasahiro Yamada1-6/+9
2020-01-07kbuild: add stringify helper to quote a string passed to C filesMasahiro Yamada1-1/+1
2020-01-07kbuild: do not create orphan built-in.a or obj-y objectsMasahiro Yamada1-0/+4
2019-12-30Merge tag 'v5.5-rc4' into locking/kcsan, to resolve conflictsIngo Molnar1-14/+0
2019-11-16kcsan: Add Kernel Concurrency Sanitizer infrastructureMarco Elver1-0/+10
2019-11-15kbuild: remove header compile testMasahiro Yamada1-14/+0
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-2/+2
2019-09-04kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)Masahiro Yamada1-5/+8
2019-09-04kbuild: add $(BASH) to run scripts with bash-extensionMasahiro Yamada1-1/+1
2019-08-22kbuild: move modkern_{c,a}flags to Makefile.lib from Makefile.buildMasahiro Yamada1-0/+12
2019-08-15kbuild: treat an object as multi-used when $(foo-) is setMasahiro Yamada1-5/+5
2019-08-14kbuild: move flex and bison rules to Makefile.hostMasahiro Yamada1-16/+0
2019-08-14kbuild: make bison create C file and header in a single pattern ruleMasahiro Yamada1-9/+3
2019-07-27kbuild: remove unused single-used-mMasahiro Yamada1-2/+0
2019-07-17kbuild: compile-test headers listed in header-test-m as wellMasahiro Yamada1-1/+1
2019-07-11kbuild: fix compression errors getting ignoredHarald Seiler1-5/+5
2019-07-11kbuild: replace KBUILD_SRCTREE with boolean building_out_of_srctreeMasahiro Yamada1-1/+1
2019-07-09kbuild: support header-test-pattern-yMasahiro Yamada1-0/+11
2019-07-09kbuild: do not create wrappers for header-test-yMasahiro Yamada1-1/+1
2019-06-15kbuild: add support for ensuring headers are self-containedJani Nikula1-0/+3
2019-05-22dt-bindings: Pass binding directory to validation toolsRob Herring1-1/+1
2019-05-18kbuild: remove 'addtree' and 'flags' magic for header search pathsMasahiro Yamada1-18/+8
2019-04-02kbuild: use $(srctree) instead of KBUILD_SRC to check out-of-tree buildMasahiro Yamada1-1/+1
2019-03-14kbuild: move archive command to scripts/Makefile.libMasahiro Yamada1-0/+6
2019-01-28kbuild: remove unnecessary in-subshell executionMasahiro Yamada1-11/+10
2019-01-28kbuild: add real-prereqs shorthand for $(filter-out FORCE,$^)Masahiro Yamada1-9/+9
2019-01-28kbuild: simplify rules of data compression with size appendingMasahiro Yamada1-11/+7
2019-01-28kbuild: skip 'addtree' and 'flags' magic for external module buildMasahiro Yamada1-5/+6
2019-01-06kbuild: change filechk to surround the given command with { }Masahiro Yamada1-2/+1
2019-01-06kbuild: remove redundant target cleaning on failureMasahiro Yamada1-14/+7
2019-01-06kbuild: clean up rule_dtc_dt_yamlMasahiro Yamada1-2/+2
2019-01-06kbuild: remove UIMAGE_IN and UIMAGE_OUTMasahiro Yamada1-4/+2
2018-12-29Merge tag 'kbuild-v4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-1/+1
2018-12-13Merge branch 'yaml-bindings-for-v4.21' into dt/nextRob Herring1-2/+22
2018-12-13kbuild: Add support for DT binding schema checksRob Herring1-2/+22
2018-12-01kbuild: remove redundant 'set -e' from filechk_offsetsMasahiro Yamada1-1/+1
2018-11-30kbuild: Enable dtc graph_port warning by defaultRob Herring1-1/+0
2018-11-30kbuild: disable dtc simple_bus_reg warnings by defaultRob Herring1-0/+1
2018-10-02kbuild: consolidate Devicetree dtb build rulesRob Herring1-1/+1
2018-08-24kbuild: rename LDFLAGS to KBUILD_LDFLAGSMasahiro Yamada1-1/+1
2018-07-28kbuild: do not redirect the first prerequisite for filechkMasahiro Yamada1-1/+1
2018-07-19kbuild: change ld_flags to contain LDFLAGS_$(@F)Masahiro Yamada1-2/+2
2018-07-19kbuild: replace $(LDFLAGS) $(ldflags-y) with $(ld_flags)Masahiro Yamada1-2/+1
2018-06-07Merge tag 'devicetree-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+3
2018-05-14kbuild: disable new dtc graph and unit-address warningsRob Herring1-0/+3
2018-05-05kbuild: replace hardcoded bison in cmd_bison_h with $(YACC)Masahiro Yamada1-1/+1
2018-04-07kbuild: mark $(targets) as .SECONDARY and remove .PRECIOUS markersMasahiro Yamada1-3/+0
2018-04-07kbuild: add %.dtb.S and %.dtb to 'targets' automaticallyMasahiro Yamada1-2/+2
2018-04-07genksyms: generate lexer and parser during build instead of shippingMasahiro Yamada1-21/+3
2018-04-05Merge tag 'devicetree-for-4.17' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-5/+4
2018-03-31kbuild: get <linux/compiler_types.h> out of <linux/kconfig.h>Masahiro Yamada1-0/+1
2018-03-26kbuild: link $(real-obj-y) instead of $(obj-y) into built-in.aMasahiro Yamada1-4/+3
2018-03-26kbuild: rename real-objs-y/m to real-obj-y/mMasahiro Yamada1-4/+4
2018-03-26kbuild: move modname and modname-multi close to modname_flagsMasahiro Yamada1-6/+8
2018-03-26kbuild: simplify modname calculationMasahiro Yamada1-7/+0
2018-03-26kbuild: fix modname for composite modulesCao jin1-2/+2
2018-03-26kbuild: define KBUILD_MODNAME even if multiple modules share objectsMasahiro Yamada1-7/+5
2018-03-26kbuild: remove unnecessary $(subst $(obj)/, , ...) in modname-multiMasahiro Yamada1-1/+1
2018-03-26kbuild: Use ls(1) instead of stat(1) to obtain file sizeMichael Forney1-1/+1
2018-03-26kbuild: rename built-in.o to built-in.aNicholas Piggin1-3/+3
2018-03-09kbuild: Handle builtin dtb file names containing hyphensJames Hogan1-4/+4
2018-03-05scripts: turn off some new dtc warnings by defaultRob Herring1-0/+2
2018-03-01scripts: re-enable some now fixed dtc warningsRob Herring1-3/+0
2018-03-01kbuild: add dtc as dependency on .dtb filesRob Herring1-1/+1
2018-03-01kbuild: remove remaining use of undefined YACC_PREFIXRob Herring1-1/+1
2018-02-06kasan: don't emit builtin calls when sanitization is offAndrey Konovalov1-1/+1
2018-02-01Merge tag 'kconfig-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ma...Linus Torvalds1-9/+19
2018-01-25kbuild: fix W= option checks for extra DTC warningsMasahiro Yamada1-2/+2
2018-01-22kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIXMasahiro Yamada1-6/+2
2017-12-16kbuild: prepare to remove C files pre-generated by flex and bisonMasahiro Yamada1-3/+17
2017-12-16kbuild: add LEX and YACC variablesMasahiro Yamada1-2/+2
2017-11-23kbuild: drop $(extra-y) from real-objs-yMasahiro Yamada1-1/+1
2017-11-17Merge tag 'kbuild-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-23/+11
2017-11-16kbuild: create object directories simpler and fasterMasahiro Yamada1-5/+0
2017-11-14Merge tag 'devicetree-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+5
2017-11-09kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.libMasahiro Yamada1-0/+5
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-31kbuild: remove KBUILD_SUBDIR_ASFLAGS and KBUILD_SUBDIR_CCFLAGSMasahiro Yamada1-4/+4
2017-10-26kbuild: comments cleanup in Makefile.libCao jin1-14/+7
2017-09-09remove gperf left-overs from build systemLinus Torvalds1-9/+0
2017-08-21of: search scripts/dtc/include-prefixes path for both CPP and DTCMasahiro Yamada1-2/+4
2017-08-21of: remove arch/$(SRCARCH)/boot/dts from include search path for CPPMasahiro Yamada1-1/+0
2017-08-21of: remove drivers/of/testcase-data from include search path for CPPMasahiro Yamada1-1/+0
2017-05-18devicetree: Move include prefixes from arch to separate directoryOlof Johansson1-1/+1
2017-05-10Merge tag 'kbuild-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-0/+31
2017-05-05Merge tag 'devicetree-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+13
2017-04-27of: per-file dtc compiler flagsFrank Rowand1-0/+2
2017-04-23kbuild: fix asm-offset generation to work with clangJeroen Hofstee1-2/+6