<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>293f324c - tools: Unify top-level quiet infrastructure</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#293f324c</link>
        <description>tools: Unify top-level quiet infrastructureCommit f2868b1a66d4f40f (&quot;perf tools: Expose quiet/verbose variables inMakefile.perf&quot;) moved the quiet infrastructure out oftools/build/Makefile.build and into the top-level Makefile.perf file sothat the quiet infrastructure could be used throughout perf and not justin Makefile.build.Extract out the quiet infrastructure into Makefile.include so that itcan be leveraged outside of perf.Fixes: f2868b1a66d4f40f (&quot;perf tools: Expose quiet/verbose variables in Makefile.perf&quot;)Reviewed-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Signed-off-by: Charlie Jenkins &lt;charlie@rivosinc.com&gt;Acked-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;Cc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;Cc: Benjamin Tissoires &lt;bentiss@kernel.org&gt;Cc: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Cc: Daniel Lezcano &lt;daniel.lezcano@linaro.org&gt;Cc: Eduard Zingerman &lt;eddyz87@gmail.com&gt;Cc: Hao Luo &lt;haoluo@google.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jiri Kosina &lt;jikos@kernel.org&gt;Cc: John Fastabend &lt;john.fastabend@gmail.com&gt;Cc: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Cc: KP Singh &lt;kpsingh@kernel.org&gt;Cc: Lukasz Luba &lt;lukasz.luba@arm.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Martin KaFai Lau &lt;martin.lau@linux.dev&gt;Cc: Mykola Lysenko &lt;mykolal@fb.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Quentin Monnet &lt;qmo@kernel.org&gt;Cc: Rafael J. Wysocki &lt;rafael@kernel.org&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Song Liu &lt;song@kernel.org&gt;Cc: Stanislav Fomichev &lt;sdf@google.com&gt;Cc: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;Cc: Yonghong Song &lt;yonghong.song@linux.dev&gt;Cc: Zhang Rui &lt;rui.zhang@intel.com&gt;Link: https://lore.kernel.org/r/20250213-quiet_tools-v3-1-07de4482a581@rivosinc.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Thu, 13 Feb 2025 21:06:21 +0000</pubDate>
        <dc:creator>Charlie Jenkins &lt;charlie@rivosinc.com&gt;</dc:creator>
    </item>
<item>
        <title>b53f20b3 - tools build: Provide consistent build options for fixdep</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#b53f20b3</link>
        <description>tools build: Provide consistent build options for fixdepThe fixdep binary is being compiled and linked in one step. While thehost linker flags are passed to the compiler the host compiler flags aremissed.That leads to build errors at least on x86_64, arm64 and s390 as resultof the compiler vs linker flags inconsistency. For example, during RPMpackage build redhat-hardened-ld script is provided to gcc, whileredhat-hardened-cc1 script is missed.Provide both KBUILD_HOSTCFLAGS and KBUILD_HOSTLDFLAGS to avoid that.Fixes: ea974028a049f2ce (&quot;tools build: Avoid circular .fixdep-in.o.cmd issues&quot;)Closes: https://lore.kernel.org/lkml/99ae0d34-ed76-4ca0-a9fd-c337da33c9f9@leemhuis.info/Reported-by: Thorsten Leemhuis &lt;linux@leemhuis.info&gt;Reviewed-by: Brian Norris &lt;briannorris@chromium.org&gt;Signed-off-by: Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;Tested-by: Thorsten Leemhuis &lt;linux@leemhuis.info&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Link: https://lore.kernel.org/r/20240815072046.1002837-1-agordeev@linux.ibm.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Thu, 15 Aug 2024 07:20:46 +0000</pubDate>
        <dc:creator>Alexander Gordeev &lt;agordeev@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>ea974028 - tools build: Avoid circular .fixdep-in.o.cmd issues</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#ea974028</link>
        <description>tools build: Avoid circular .fixdep-in.o.cmd issuesThe &apos;fixdep&apos; tool is used to post-process dependency files for variousreasons, and it runs after every object file generation command. Thiseven includes &apos;fixdep&apos; itself.In Kbuild, this isn&apos;t actually a problem, because it uses a singlecommand to generate fixdep (a compile-and-link command on fixdep.c), andafterward runs the fixdep command on the accompanying .fixdep.cmd file.In tools/ builds (which notably is maintained separately from Kbuild),fixdep is generated in several phases: 1. fixdep.c -&gt; fixdep-in.o 2. fixdep-in.o -&gt; fixdepThus, fixdep is not available in the post-processing for step 1, andinstead, we generate .cmd files that look like:  ## from tools/objtool/libsubcmd/.fixdep.o.cmd  # cannot find fixdep (/path/to/linux/tools/objtool/libsubcmd//fixdep)  [...]These invalid .cmd files are benign in some respects, but cause problemsin others (such as the linked reports).Because the tools/ build system is rather complicated in its own right(and pointedly different than Kbuild), I choose to simply open-code therule for building fixdep, and avoid the recursive-make indirection thatproduces the problem in the first place.Signed-off-by: Brian Norris &lt;briannorris@chromium.org&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Cc: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Thomas Richter &lt;tmricht@linux.ibm.com&gt;Link: https://lore.kernel.org/all/Zk-C5Eg84yt6_nml@google.com/Link: https://lore.kernel.org/r/20240715203325.3832977-3-briannorris@chromium.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Mon, 15 Jul 2024 20:32:43 +0000</pubDate>
        <dc:creator>Brian Norris &lt;briannorris@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>5c816641 - kbuild: replace $(if A,A,B) with $(or A,B)</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#5c816641</link>
        <description>kbuild: replace $(if A,A,B) with $(or A,B)$(or ...) is available since GNU Make 3.81, and useful to shorten thecode in some places.Covert as follows:  $(if A,A,B)  --&gt;  $(or A,B)This patch also converts:  $(if A, A, B) --&gt; $(or A, B)Strictly speaking, the latter is not an equivalent conversion becauseGNU Make keeps spaces after commas; if A is not empty, $(if A, A, B)expands to &quot; A&quot;, while $(or A, B) expands to &quot;A&quot;.Anyway, preceding spaces are not significant in the code hunks I touched.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;Reviewed-by: Nicolas Schier &lt;nicolas@fjasle.eu&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Fri, 11 Feb 2022 05:14:11 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>8af52e69 - tools build: Fix feature detect clean for out of source builds</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#8af52e69</link>
        <description>tools build: Fix feature detect clean for out of source buildsCurrently the clean target when using O= isn&apos;t cleaning the featuredetect output. This is because O= and OUTPUT= are set to canonicalpaths. For example in tools/perf/Makefile:  FULL_O := $(shell cd $(PWD); readlink -f $(O) || echo $(O))This means that OUTPUT ends in a / and most usages prepend it to a filewithout adding an extra /. This line that was changed adds an extra /before the &apos;feature&apos; folder but not to the end, resulting in a cleancommand like this:  rm -f /tmp/build//featuretest-all.bin ...After the change the clean command looks like this:  rm -f /tmp/build/feature/test-all.bin ...Fixes: 762323eb39a257c3 (&quot;perf build: Move feature cleanup under tools/build&quot;)Signed-off-by: James Clark &lt;james.clark@arm.com&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Link: http://lore.kernel.org/lkml/20210816130705.1331868-1-james.clark@arm.comSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Mon, 16 Aug 2021 13:07:05 +0000</pubDate>
        <dc:creator>James Clark &lt;james.clark@arm.com&gt;</dc:creator>
    </item>
<item>
        <title>762323eb - perf build: Move feature cleanup under tools/build</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#762323eb</link>
        <description>perf build: Move feature cleanup under tools/buildArnaldo reported issue for following build command:  $ rm -rf /tmp/krava; mkdir /tmp/krava; make O=/tmp/krava clean    CLEAN    config  /bin/sh: line 0: cd: /tmp/krava/feature/: No such file or directory  ../../scripts/Makefile.include:17: *** output directory &quot;/tmp/krava/feature/&quot; does not exist.  Stop.  make[1]: *** [Makefile.perf:1010: config-clean] Error 2  make: *** [Makefile:90: clean] Error 2The problem is that now that we include scripts/Makefile.includein feature&apos;s Makefile (which is fine and needed), we need to ensurethe OUTPUT directory exists, before executing (out of tree) cleancommand.Removing the feature&apos;s cleanup from perf Makefile and fixingfeature&apos;s cleanup under build Makefile, so it now checks thatthere&apos;s existing OUTPUT directory before calling the clean.Fixes: 211a741cd3e1 (&quot;tools: Factor Clang, LLC and LLVM utils definitions&quot;)Reported-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Tested-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt; # LLVM/Clang v13-gitCc: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;Cc: Ian Rogers &lt;irogers@google.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Michael Petlan &lt;mpetlan@redhat.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: http://lore.kernel.org/lkml/20210224150831.409639-1-jolsa@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Wed, 24 Feb 2021 15:08:31 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>c8a950d0 - tools: Factor HOSTCC, HOSTLD, HOSTAR definitions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#c8a950d0</link>
        <description>tools: Factor HOSTCC, HOSTLD, HOSTAR definitionsSeveral Makefiles in tools/ need to define the host toolchain variables.Move their definition to tools/scripts/Makefile.includeSigned-off-by: Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;Signed-off-by: Andrii Nakryiko &lt;andrii@kernel.org&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Acked-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;Link: https://lore.kernel.org/bpf/20201110164310.2600671-2-jean-philippe@linaro.org

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Tue, 10 Nov 2020 16:43:05 +0000</pubDate>
        <dc:creator>Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>661b37cd - tools, bpf/build: Cleanup feature files on make clean</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#661b37cd</link>
        <description>tools, bpf/build: Cleanup feature files on make cleanThe system for &quot;Auto-detecting system features&quot; located undertools/build/ are (currently) used by perf, libbpf and bpftool. It cancontain stalled feature detection files, which are not cleaned up bylibbpf and bpftool on make clean (side-note: perf tool is correct).Fix this by making the users invoke the make clean target.Some details about the changes. The libbpf Makefile already had aclean-config target (which seems to be copy-pasted from perf), but thistarget was not &quot;connected&quot; (a make dependency) to clean target. Choosenot to rename target as someone might be using it. Did change the outputfrom &quot;CLEAN config&quot; to &quot;CLEAN feature-detect&quot;, to make it more clearwhat happens.This is related to the complaint and troubleshooting in the followinglink: https://lore.kernel.org/lkml/20200818122007.2d1cfe2d@carbon/Signed-off-by: Jesper Dangaard Brouer &lt;brouer@redhat.com&gt;Signed-off-by: Daniel Borkmann &lt;daniel@iogearbox.net&gt;Acked-by: Jiri Olsa &lt;jolsa@redhat.com&gt;Link: https://lore.kernel.org/lkml/20200818122007.2d1cfe2d@carbon/Link: https://lore.kernel.org/bpf/159851841661.1072907.13770213104521805592.stgit@firesoul

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Thu, 27 Aug 2020 08:53:36 +0000</pubDate>
        <dc:creator>Jesper Dangaard Brouer &lt;brouer@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>b90a3680 - kbuild: Rename HOSTLDFLAGS to KBUILD_HOSTLDFLAGS</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#b90a3680</link>
        <description>kbuild: Rename HOSTLDFLAGS to KBUILD_HOSTLDFLAGSIn preparation for enabling command line LDFLAGS, re-name HOSTLDFLAGSto KBUILD_HOSTLDFLAGS as the internal use only flags. This should nothave any visible effects.Signed-off-by: Laura Abbott &lt;labbott@redhat.com&gt;Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Tue, 10 Jul 2018 00:46:00 +0000</pubDate>
        <dc:creator>Laura Abbott &lt;labbott@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>8b247a92 - tools: build: Use HOSTLDFLAGS with fixdep</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#8b247a92</link>
        <description>tools: build: Use HOSTLDFLAGS with fixdepThe final link of fixdep uses LDFLAGS but not the existing HOSTLDFLAGS.Fix this.Signed-off-by: Laura Abbott &lt;labbott@redhat.com&gt;Acked-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Tue, 10 Jul 2018 00:45:57 +0000</pubDate>
        <dc:creator>Laura Abbott &lt;labbott@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>b2441318 - License cleanup: add SPDX GPL-2.0 license identifier to files with no license</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#b2441318</link>
        <description>License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseMany source files in the tree are missing licensing information, whichmakes it harder for compliance tools to determine the correct license.By default all files without license information are under the defaultlicense of the kernel, which is GPL version 2.Update the files which contain no license information with the &apos;GPL-2.0&apos;SPDX license identifier.  The SPDX identifier is a legally bindingshorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart andPhilippe Ombredanne.How this work was done:Patches were generated and checked against linux-4.14-rc6 for a subset ofthe use cases: - file had no licensing information it it. - file was a */uapi/* one with no licensing information in it, - file was a */uapi/* one with existing licensing information,Further patches will be generated in subsequent months to fix up caseswhere non-standard license headers were used, and references to licensehad to be inferred by heuristics based on keywords.The analysis to determine which SPDX License Identifier to be applied toa file was done in a spreadsheet of side by side results from of theoutput of two independent scanners (ScanCode &amp; Windriver) producing SPDXtag:value files created by Philippe Ombredanne.  Philippe prepared thebase worksheet, and did an initial spot review of a few 1000 files.The 4.13 kernel was the starting point of the analysis with 60,537 filesassessed.  Kate Stewart did a file by file comparison of the scannerresults in the spreadsheet to determine which SPDX license identifier(s)to be applied to the file. She confirmed any determination that was notimmediately clear with lawyers working with the Linux Foundation.Criteria used to select files for SPDX license identifier tagging was: - Files considered eligible had to be source code files. - Make and config files were included as candidates if they contained &gt;5   lines of source - File already had some variant of a license header in it (even if &lt;5   lines).All documentation files were explicitly excluded.The following heuristics were used to determine which SPDX licenseidentifiers to apply. - when both scanners couldn&apos;t find any license traces, file was   considered to have no license information in it, and the top level   COPYING file license applied.   For non */uapi/* files that summary was:   SPDX license identifier                            # files   ---------------------------------------------------|-------   GPL-2.0                                              11139   and resulted in the first patch in this series.   If that file was a */uapi/* path one, it was &quot;GPL-2.0 WITH   Linux-syscall-note&quot; otherwise it was &quot;GPL-2.0&quot;.  Results of that was:   SPDX license identifier                            # files   ---------------------------------------------------|-------   GPL-2.0 WITH Linux-syscall-note                        930   and resulted in the second patch in this series. - if a file had some form of licensing information in it, and was one   of the */uapi/* ones, it was denoted with the Linux-syscall-note if   any GPL family license was found in the file or had no licensing in   it (per prior point).  Results summary:   SPDX license identifier                            # files   ---------------------------------------------------|------   GPL-2.0 WITH Linux-syscall-note                       270   GPL-2.0+ WITH Linux-syscall-note                      169   ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21   ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17   LGPL-2.1+ WITH Linux-syscall-note                      15   GPL-1.0+ WITH Linux-syscall-note                       14   ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5   LGPL-2.0+ WITH Linux-syscall-note                       4   LGPL-2.1 WITH Linux-syscall-note                        3   ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3   ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1   and that resulted in the third patch in this series. - when the two scanners agreed on the detected license(s), that became   the concluded license(s). - when there was disagreement between the two scanners (one detected a   license but the other didn&apos;t, or they both detected different   licenses) a manual inspection of the file occurred. - In most cases a manual inspection of the information in the file   resulted in a clear resolution of the license that should apply (and   which scanner probably needed to revisit its heuristics). - When it was not immediately clear, the license identifier was   confirmed with lawyers working with the Linux Foundation. - If there was any question as to the appropriate license identifier,   the file was flagged for further research and to be revisited later   in time.In total, over 70 hours of logged manual review was done on thespreadsheet to determine the SPDX license identifiers to apply to thesource files by Kate, Philippe, Thomas and, in some cases, confirmationby lawyers working with the Linux Foundation.Kate also obtained a third independent scan of the 4.13 code base fromFOSSology, and compared selected files where the other two scannersdisagreed against that SPDX file, to see if there was new insights.  TheWindriver scanner is based on an older version of FOSSology in part, sothey are related.Thomas did random spot checks in about 500 files from the spreadsheetsfor the uapi headers and agreed with SPDX license identifier in thefiles he inspected. For the non-uapi files Thomas did random spot checksin about 15000 files.In initial set of patches against 4.14-rc6, 3 files were found to havecopy/paste license identifier errors, and have been fixed to reflect thecorrect identifier.Additionally Philippe spent 10 hours this week doing a detailed manualinspection and review of the 12,461 patched files from the initial patchversion early this week with: - a full scancode scan run, collecting the matched texts, detected   license ids and scores - reviewing anything where there was a license detected (about 500+   files) to ensure that the applied SPDX license was correct - reviewing anything where there was no detection but the patch license   was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied   SPDX license was correctThis produced a worksheet with 20 files needing minor correction.  Thisworksheet was then exported into 3 different .csv files for thedifferent types of files to be modified.These .csv files were then reviewed by Greg.  Thomas wrote a script toparse the csv files and add the proper SPDX tag to the file, in theformat that the file expected.  This script was further refined by Gregbased on the output to detect more types of files automatically and todistinguish between header and source .c files (which need differentcomment types.)  Finally Greg ran the script using the .csv files togenerate the patches.Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;Reviewed-by: Philippe Ombredanne &lt;pombredanne@nexb.com&gt;Reviewed-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Wed, 01 Nov 2017 14:07:57 +0000</pubDate>
        <dc:creator>Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;</dc:creator>
    </item>
<item>
        <title>85e0d509 - perf build: Add special fixdep cleaning rule</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#85e0d509</link>
        <description>perf build: Add special fixdep cleaning ruleIngo reported following build failure:On Sat, Feb 11, 2017 at 12:12:34PM +0100, Ingo Molnar wrote:&gt;&gt; So I had this oldish 32-bit 15.10 Ubuntu installation around (fully updated), and&gt; trying to build perf gave me:&gt;&gt; deimos:~/tip/tools/perf&gt; make&gt;   BUILD:   Doing &apos;make -j4&apos; parallel build&gt; make[3]: *** No rule to make target &apos;/usr/include/x86_64-linux-gnu/sys/types.h&apos;, needed by &apos;fixdep.o&apos;.  Stop.&gt; Makefile:42: recipe for target &apos;fixdep-in.o&apos; failed&gt; make[2]: *** [fixdep-in.o] Error 2&gt; /home/mingo/tip/tools/build/Makefile.include:4: recipe for target &apos;fixdep&apos; failed&gt; make[1]: *** [fixdep] Error 2&gt; Makefile:68: recipe for target &apos;all&apos; failed&gt; make: *** [all] Error 2&gt;&gt; Now this got a bit better after I did a &apos;make mrproper&apos; in the kernel tree:&gt;&gt; deimos:~/tip/tools/perf&gt; make&gt;   BUILD:   Doing &apos;make -j4&apos; parallel build&gt;   HOSTCC   fixdep.o&gt; /home/mingo/tip/tools/build/fixdep: 1: /home/mingo/tip/tools/build/fixdep: Syntax error: &quot;(&quot; unexpected&gt; /home/mingo/tip/tools/build/Makefile.build:101: recipe for target &apos;fixdep.o&apos; failed&gt; make[3]: *** [fixdep.o] Error 2&gt; Makefile:42: recipe for target &apos;fixdep-in.o&apos; failed&gt; make[2]: *** [fixdep-in.o] Error 2&gt; /home/mingo/tip/tools/build/Makefile.include:4: recipe for target &apos;fixdep&apos; failed&gt; make[1]: *** [fixdep] Error 2&gt; Makefile:68: recipe for target &apos;all&apos; failed&gt; make: *** [all] Error 2&gt;&gt; After some digging it turns out that my &apos;fixdep&apos; binary was 64-bit:&gt;&gt; deimos:~/tip/tools/perf&gt; file /home/mingo/tip/tools/build/fixdep&gt; /home/mingo/tip/tools/build/fixdep: ELF 64-bit LSB executable, x86-64, version 1&gt; (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux&gt; 2.6.32, BuildID[sha1]=d527f736b57b5ba47210fbcb562a3b52867d21c1, not stripped&gt;&gt; But it did not get cleaned out by &apos;make clean&apos;.&gt;&gt; Only after I did a &apos;make clean&apos; in tools/ itself, did it get built properly.It shows we don&apos;t clean up properly the fixdep objects, so addingspecial rule for that.Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Reported-by: Ingo Molnar &lt;mingo@kernel.org&gt;Cc: David Ahern &lt;dsahern@gmail.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;Link: http://lkml.kernel.org/r/1487340058-10496-2-git-send-email-jolsa@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Fri, 17 Feb 2017 14:00:54 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>e19b7cee - make use of make variable CURDIR instead of calling pwd</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#e19b7cee</link>
        <description>make use of make variable CURDIR instead of calling pwdmake already provides the current working directory in a variable, so makeuse of it instead of forking a shell. Also replace usage of PWD byCURDIR. PWD is provided by most shells, but not all, so this makes thebuild system more robust.Signed-off-by: Uwe Kleine-K&#246;nig &lt;u.kleine-koenig@pengutronix.de&gt;Signed-off-by: Michal Marek &lt;mmarek@suse.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Tue, 22 Nov 2016 08:30:26 +0000</pubDate>
        <dc:creator>Uwe Kleine-K&#246;nig &lt;u.kleine-koenig@pengutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>6b3db6f9 - tools build: Make fixdep a hostprog</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#6b3db6f9</link>
        <description>tools build: Make fixdep a hostprogIt is used in the build process, so stop suppressing its build in toolscross builds.Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Cc: Andi Kleen &lt;andi@firstfloor.org&gt;Cc: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Sukadev Bhattiprolu &lt;sukadev@linux.vnet.ibm.com&gt;Cc: linuxppc-dev@lists.ozlabs.orgLink: http://lkml.kernel.org/r/20160927141846.GA6589@krava[ Use HOSTCC on the $(OUTPUT)fixdep target, it was using the x-compiler  to link fixdep-in.o, that was correctly built with HOSTCC and thus failing ]Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Tue, 27 Sep 2016 14:18:46 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>0c3b7e42 - tools build: Add support for host programs format</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#0c3b7e42</link>
        <description>tools build: Add support for host programs formatIn some cases, like for fixdep and shortly for jevents, we need to build a toolto run on the host that will be used in building a tool, such as perf, that isbeing cross compiled, so do like the kernel and provide HOSTCC, HOSTLD and HOSTARto do that.Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Requested-by: Andi Kleen &lt;andi@firstfloor.org&gt;Requested-and-Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Cc: Madhavan Srinivasan &lt;maddy@linux.vnet.ibm.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Sukadev Bhattiprolu &lt;sukadev@linux.vnet.ibm.com&gt;Cc: linuxppc-dev@lists.ozlabs.orgLink: http://lkml.kernel.org/r/20160927141846.GA6589@kravaSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Tue, 27 Sep 2016 14:18:46 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>5e50426d - tools build: Use fixdep with OUTPUT path prefix</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#5e50426d</link>
        <description>tools build: Use fixdep with OUTPUT path prefixAdding OUTPUT path prefix for fixdep target so we use it properly in outof tree builds.If the fixdep already existed in the tree, the out of tree build wouldsee it already exist and did not build the out of tree version, asreported by Arnaldo:  [acme@zoo linux]$ make O=/tmp/build/perf -C tools/perf  make: Entering directory &apos;/home/git/linux/tools/perf&apos;    BUILD:   Doing &apos;make -j4&apos; parallel build  make[2]: Nothing to be done for &apos;fixdep&apos;.  make: Leaving directory &apos;/home/git/linux/tools/perf&apos;Reported-and-Tested-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: David Ahern &lt;dsahern@gmail.com&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;Cc: Wang Nan &lt;wangnan0@huawei.com&gt;Link: http://lkml.kernel.org/r/20151126185055.GC19410@krava.brq.redhat.com[ Fixed conflict with 5725dd8fa888 (&quot;tools build: Clean CFLAGS and LDFLAGS for fixdep&quot;) ]Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Thu, 26 Nov 2015 18:50:55 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>9f7ef985 - tools build: Add fixdep dependency helper</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/build/Makefile#9f7ef985</link>
        <description>tools build: Add fixdep dependency helperFor dependency tracking we currently use targets that fall out of thegcc -MD command. We store this info in the .cmd file and include asmakefile during the build.This format put object as target and all the c and header files asdependencies, like:  util/abspath.o: util/abspath.c /usr/include/stdc-predef.h util/cache.h \   /usr/include/bits/wordsize.h /usr/include/gnu/stubs.h \   ...If any of those dependency header files (krava.h below) is removed thebuild fails on:  make[1]: *** No rule to make target &apos;krava.h&apos;, needed by &apos;inc.o&apos;.  Stop.This patch adds fixdep helper, that is used by kbuild to alter the shapeof the object dependencies like:  source_util/abspath.o := util/abspath.c  deps_util/abspath.o := \    /usr/include/stdc-predef.h \    util/cache.h \    ...  util/abspath.o: $(deps_util/abspath.o)  $(deps_util/abspath.o):With this format the header removal won&apos;t make the build fail, becauseit&apos;ll be picked up by the last empty target defined for each header.As previously mentioned the fixdep tool is taken from kbuild. It&apos;s notcomplete backport, only the part that alters the standard dependencyinfo was taken, the part that adds the CONFIG_* dependency logic will beprobably taken later on.Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;Cc: David Ahern &lt;dsahern@gmail.com&gt;Cc: Kai Germaschewski &lt;kai.germaschewski@gmx.de&gt;Cc: Namhyung Kim &lt;namhyung@kernel.org&gt;Cc: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;Link: http://lkml.kernel.org/r/1443004442-32660-4-git-send-email-jolsa@kernel.orgSigned-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux-6.15/tools/build/Makefile</description>
        <pubDate>Wed, 23 Sep 2015 10:33:58 +0000</pubDate>
        <dc:creator>Jiri Olsa &lt;jolsa@kernel.org&gt;</dc:creator>
    </item>
</channel>
</rss>
