<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/include/nolibc/Makefile, branch master</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=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2026-04-07T07:27:25Z</updated>
<entry>
<title>tools/nolibc: add byteorder conversions</title>
<updated>2026-04-07T07:27:25Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>linux@weissschuh.net</email>
</author>
<published>2026-04-05T15:31:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ce834c9cb984a9b85160a2c3a3821e179fa502fa'/>
<id>urn:sha1:ce834c9cb984a9b85160a2c3a3821e179fa502fa</id>
<content type='text'>
Add some standard functions to convert between different byte orders.
Conveniently the UAPI headers provide all the necessary functionality.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://patch.msgid.link/20260405-nolibc-bswap-v1-1-f7699ca9cee0@weissschuh.net
</content>
</entry>
<entry>
<title>tools/nolibc: explicitly list architecture headers</title>
<updated>2026-04-02T15:11:53Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>linux@weissschuh.net</email>
</author>
<published>2026-04-01T15:08:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7933969e1f733e18795a755cd9822ccf510140a1'/>
<id>urn:sha1:7933969e1f733e18795a755cd9822ccf510140a1</id>
<content type='text'>
Relying on $(wildcard) is brittle and non-deterministic.

similar to all the other headers.
Switch the list of architecture headers to an explicit list,

Link: https://patch.msgid.link/20260401-nolibc-cleanup-v1-4-bcf4c9f5c1be@weissschuh.net
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>tools/nolibc: drop superfluous definition of Q</title>
<updated>2026-04-02T15:11:48Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>linux@weissschuh.net</email>
</author>
<published>2026-04-01T15:08:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b972b37cb6b8216922c1e817b0bab4cfed55fc44'/>
<id>urn:sha1:b972b37cb6b8216922c1e817b0bab4cfed55fc44</id>
<content type='text'>
Q is already defined by tools/scripts/Makefile.include which is included
at the top of tools/include/nolibc/Makefile.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Link: https://patch.msgid.link/20260401-nolibc-cleanup-v1-3-bcf4c9f5c1be@weissschuh.net
</content>
</entry>
<entry>
<title>tools/nolibc: drop superfluous invocation of mkdir</title>
<updated>2026-04-02T15:11:42Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>linux@weissschuh.net</email>
</author>
<published>2026-04-01T15:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=010d03d0e8fb0a2690d5a79c6580d8c4f32c937e'/>
<id>urn:sha1:010d03d0e8fb0a2690d5a79c6580d8c4f32c937e</id>
<content type='text'>
The call to 'mkdir -p $(OUTPUT)sysroot/include' will also create the
sysroot directory.

Drop the unnecessary explicit invocation of mkdir.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Link: https://patch.msgid.link/20260401-nolibc-cleanup-v1-2-bcf4c9f5c1be@weissschuh.net
</content>
</entry>
<entry>
<title>tools/nolibc: drop superfluous invocation of 'make headers'</title>
<updated>2026-04-02T15:11:37Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>linux@weissschuh.net</email>
</author>
<published>2026-04-01T15:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5bf4b30ed49b9af281bdf11c788f382faa432cfd'/>
<id>urn:sha1:5bf4b30ed49b9af281bdf11c788f382faa432cfd</id>
<content type='text'>
The headers_install target of the toplevel Makefile will already make
sure that the headers are up-to-date.

Drop the superfluous explicit invocation.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Link: https://patch.msgid.link/20260401-nolibc-cleanup-v1-1-bcf4c9f5c1be@weissschuh.net
</content>
</entry>
<entry>
<title>tools/nolibc: add err.h</title>
<updated>2026-03-22T09:40:37Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>linux@weissschuh.net</email>
</author>
<published>2026-03-18T15:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9da0f529c089f00e6ab8b552d7407e612b7245a8'/>
<id>urn:sha1:9da0f529c089f00e6ab8b552d7407e612b7245a8</id>
<content type='text'>
Add a few convenient helpers to print error and warning messages.

Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Link: https://patch.msgid.link/20260318-nolibc-err-h-v4-2-08247a694bd9@weissschuh.net
</content>
</entry>
<entry>
<title>tools/nolibc: always use 64-bit mode for s390 header checks</title>
<updated>2026-01-04T09:28:56Z</updated>
<author>
<name>Thomas Weißschuh</name>
<email>linux@weissschuh.net</email>
</author>
<published>2025-12-03T19:08:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc6809f6728456c03db6750fcc94ed8b581a2cf8'/>
<id>urn:sha1:cc6809f6728456c03db6750fcc94ed8b581a2cf8</id>
<content type='text'>
32-bit s390 support was recently removed from nolibc.
If the compiler defaults to 32-bit during the header checks, they fail.

Make sure to always use 64-bit mode for s390 heafer checks.

Fixes: 169ebcbb9082 ("tools: Remove s390 compat support")
Acked-by: Willy Tarreau &lt;w@1wt.eu&gt;
Acked-by: Heiko Carstens &lt;hca@linux.ibm.com&gt;
Link: https://patch.msgid.link/20251203-nolibc-headers-check-s390-v1-1-5d35e52a83ba@weissschuh.net
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>tools/nolibc: add ptrace support</title>
<updated>2026-01-04T09:28:44Z</updated>
<author>
<name>Benjamin Berg</name>
<email>benjamin.berg@intel.com</email>
</author>
<published>2025-09-24T14:20:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ec4bb8e8dfa060c699b548f62e4d56133aafbbec'/>
<id>urn:sha1:ec4bb8e8dfa060c699b548f62e4d56133aafbbec</id>
<content type='text'>
Add ptrace support, as it will be useful in UML.

Signed-off-by: Benjamin Berg &lt;benjamin.berg@intel.com&gt;
[Thomas: drop va_args usage and linux/uio.h inclusion]
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>tools/nolibc: make the "headers" target install all supported archs</title>
<updated>2025-11-02T14:38:13Z</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2025-11-02T14:10:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1868c027b6527abfa9ab8172a905acc5809849ee'/>
<id>urn:sha1:1868c027b6527abfa9ab8172a905acc5809849ee</id>
<content type='text'>
The efforts we go through by installing a single arch are counter
productive when the base directory already supports them all, and
the arch-specific files are really small. Let's make the "headers"
target simply install headers for all supported archs and stop
trying to build a hybrid "arch.h" file on the fly, to instead keep
the generic one. Now the same nolibc headers installation will be
usable with any arch-specific uapi installation.

Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
<entry>
<title>tools/nolibc: add the more portable inttypes.h</title>
<updated>2025-11-02T13:28:20Z</updated>
<author>
<name>Willy Tarreau</name>
<email>w@1wt.eu</email>
</author>
<published>2025-11-02T13:21:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=44bf8bbe29fd50ed2b8dfd1873bd22f76ca2f4d9'/>
<id>urn:sha1:44bf8bbe29fd50ed2b8dfd1873bd22f76ca2f4d9</id>
<content type='text'>
It's often recommended to only use inttypes.h instead of stdint.h for
portability reasons since the former is always present when the latter
is present, but not conversely, and the former includes the latter. Due
to this some simple programs fail to build when including inttypes.h.
Let's add one that simply includes nolibc.h to better support these
programs.

Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
Signed-off-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
</content>
</entry>
</feed>
