<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/Makefile, branch v6.14</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v6.14</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v6.14'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2025-03-24T14:02:41Z</updated>
<entry>
<title>Linux 6.14</title>
<updated>2025-03-24T14:02:41Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2025-03-24T14:02:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=38fec10eb60d687e30c8c6b5420d86e8149f7557'/>
<id>urn:sha1:38fec10eb60d687e30c8c6b5420d86e8149f7557</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 6.14-rc7</title>
<updated>2025-03-16T22:55:17Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2025-03-16T22:55:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4701f33a10702d5fc577c32434eb62adde0a1ae1'/>
<id>urn:sha1:4701f33a10702d5fc577c32434eb62adde0a1ae1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 6.14-rc6</title>
<updated>2025-03-09T23:45:25Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2025-03-09T23:45:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=80e54e84911a923c40d7bee33a34c1b4be148d7a'/>
<id>urn:sha1:80e54e84911a923c40d7bee33a34c1b4be148d7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kbuild: userprogs: use correct lld when linking through clang</title>
<updated>2025-03-04T19:02:39Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>thomas.weissschuh@linutronix.de</email>
</author>
<published>2025-02-17T07:27:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dfc1b168a8c4b376fa222b27b97c2c4ad4b786e1'/>
<id>urn:sha1:dfc1b168a8c4b376fa222b27b97c2c4ad4b786e1</id>
<content type='text'>
The userprog infrastructure links objects files through $(CC).
Either explicitly by manually calling $(CC) on multiple object files or
implicitly by directly compiling a source file to an executable.
The documentation at Documentation/kbuild/llvm.rst indicates that ld.lld
would be used for linking if LLVM=1 is specified.
However clang instead will use either a globally installed cross linker
from $PATH called ${target}-ld or fall back to the system linker, which
probably does not support crosslinking.
For the normal kernel build this is not an issue because the linker is
always executed directly, without the compiler being involved.

Explicitly pass --ld-path to clang so $(LD) is respected.
As clang 13.0.1 is required to build the kernel, this option is available.

Fixes: 7f3a59db274c ("kbuild: add infrastructure to build userspace programs")
Cc: stable@vger.kernel.org # needs wrapping in $(cc-option) for &lt; 6.9
Signed-off-by: Thomas Weißschuh &lt;thomas.weissschuh@linutronix.de&gt;
Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
</content>
</entry>
<entry>
<title>Linux 6.14-rc5</title>
<updated>2025-03-02T19:48:20Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2025-03-02T19:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7eb172143d5508b4da468ed59ee857c6e5e01da6'/>
<id>urn:sha1:7eb172143d5508b4da468ed59ee857c6e5e01da6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 6.14-rc4</title>
<updated>2025-02-23T20:32:57Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2025-02-23T20:32:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d082ecbc71e9e0bf49883ee4afd435a77a5101b6'/>
<id>urn:sha1:d082ecbc71e9e0bf49883ee4afd435a77a5101b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Linux 6.14-rc3</title>
<updated>2025-02-16T22:02:44Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2025-02-16T22:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0ad2507d5d93f39619fc42372c347d6006b64319'/>
<id>urn:sha1:0ad2507d5d93f39619fc42372c347d6006b64319</id>
<content type='text'>
</content>
</entry>
<entry>
<title>kbuild: userprogs: fix bitsize and target detection on clang</title>
<updated>2025-02-15T18:10:58Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>thomas.weissschuh@linutronix.de</email>
</author>
<published>2025-02-13T14:55:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1b71c2fb04e7a713abc6edde4a412416ff3158f2'/>
<id>urn:sha1:1b71c2fb04e7a713abc6edde4a412416ff3158f2</id>
<content type='text'>
scripts/Makefile.clang was changed in the linked commit to move --target from
KBUILD_CFLAGS to KBUILD_CPPFLAGS, as that generally has a broader scope.
However that variable is not inspected by the userprogs logic,
breaking cross compilation on clang.

Use both variables to detect bitsize and target arguments for userprogs.

Fixes: feb843a469fb ("kbuild: add $(CLANG_FLAGS) to KBUILD_CPPFLAGS")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Weißschuh &lt;thomas.weissschuh@linutronix.de&gt;
Reviewed-by: Nathan Chancellor &lt;nathan@kernel.org&gt;
Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
</content>
</entry>
<entry>
<title>tools: fix annoying "mkdir -p ..." logs when building tools in parallel</title>
<updated>2025-02-15T13:36:10Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>masahiroy@kernel.org</email>
</author>
<published>2025-02-11T00:29:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d1d0963121769d8d16150b913fe886e48efefa51'/>
<id>urn:sha1:d1d0963121769d8d16150b913fe886e48efefa51</id>
<content type='text'>
When CONFIG_OBJTOOL=y or CONFIG_DEBUG_INFO_BTF=y, parallel builds
show awkward "mkdir -p ..." logs.

  $ make -j16
    [ snip ]
  mkdir -p /home/masahiro/ref/linux/tools/objtool &amp;&amp; make O=/home/masahiro/ref/linux subdir=tools/objtool --no-print-directory -C objtool
  mkdir -p /home/masahiro/ref/linux/tools/bpf/resolve_btfids &amp;&amp; make O=/home/masahiro/ref/linux subdir=tools/bpf/resolve_btfids --no-print-directory -C bpf/resolve_btfids

Defining MAKEFLAGS=&lt;value&gt; on the command line wipes out command line
switches from the resultant MAKEFLAGS definition, even though the command
line switches are active. [1]

MAKEFLAGS puts all single-letter options into the first word, and that
word will be empty if no single-letter options were given. [2]
However, this breaks if MAKEFLAGS=&lt;value&gt; is given on the command line.

The tools/ and tools/% targets set MAKEFLAGS=&lt;value&gt; on the command
line, which breaks the following code in tools/scripts/Makefile.include:

    short-opts := $(firstword -$(MAKEFLAGS))

If MAKEFLAGS really needs modification, it should be done through the
environment variable, as follows:

    MAKEFLAGS=&lt;value&gt; $(MAKE) ...

That said, I question whether modifying MAKEFLAGS is necessary here.
The only flag we might want to exclude is --no-print-directory, as the
tools build system changes the working directory. However, people might
find the "Entering/Leaving directory" logs annoying.

I simply removed the offending MAKEFLAGS=&lt;value&gt;.

[1]: https://savannah.gnu.org/bugs/?62469
[2]: https://www.gnu.org/software/make/manual/make.html#Testing-Flags

Fixes: ea01fa9f63ae ("tools: Connect to the kernel build system")
Fixes: a50e43332756 ("perf tools: Honor parallel jobs")
Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;
Tested-by: Daniel Xu &lt;dxu@dxuuu.xyz&gt;
</content>
</entry>
<entry>
<title>Linux 6.14-rc2</title>
<updated>2025-02-09T20:45:03Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2025-02-09T20:45:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a64dcfb451e254085a7daee5fe51bf22959d52d3'/>
<id>urn:sha1:a64dcfb451e254085a7daee5fe51bf22959d52d3</id>
<content type='text'>
</content>
</entry>
</feed>
