<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/amd64/linux32/Makefile, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:54:58Z</updated>
<entry>
<title>sys: Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-16T17:54:58Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=031beb4e239bfce798af17f5fe8dba8bcaf13d99'/>
<id>urn:sha1:031beb4e239bfce798af17f5fe8dba8bcaf13d99</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
</content>
</entry>
<entry>
<title>sysent targets: further cleanup and deduplication</title>
<updated>2020-01-18T20:37:45Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-01-18T20:37:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05d7dd739c5b89b5cad3153124667d743f3ccb3c'/>
<id>urn:sha1:05d7dd739c5b89b5cad3153124667d743f3ccb3c</id>
<content type='text'>
r355473 vastly improved the readability and cleanliness of these Makefiles.
Every single one of them follows the same pattern and duplicates the exact
same logic.

Now that we have GENERATED/SRCS, split SRCS up into the two parameters we'll
use for ${MAKESYSCALLS} rather than assuming a specific ordering of SRCS and
include a common sysent.mk to handle the rest. This makes it less tedious to
make sweeping changes.

Some default values are provided for GENERATED/SYSENT_*; almost all of these
just use a 'syscalls.master' and 'syscalls.conf' in cwd, and they all use
effectively the same filenames with an arbitrary prefix. Most ABIs will be
able to get away with just setting GENERATED_PREFIX and including
^/sys/conf/sysent.mk, while others only need light additions. kern/Makefile
is the notable exception, as it doesn't take a SYSENT_CONF and the generated
files are spread out between ^/sys/kern and ^/sys/sys, but it otherwise fits
the pattern enough to use the common version.

Reviewed by:	brooks, imp
Nice!:		emaste
Differential Revision:	https://reviews.freebsd.org/D23197
</content>
</entry>
<entry>
<title>Set .ORDER for makesyscalls generated files</title>
<updated>2020-01-10T18:24:17Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-01-10T18:24:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1171c633fb097a19e1da87128604190bc6d27341'/>
<id>urn:sha1:1171c633fb097a19e1da87128604190bc6d27341</id>
<content type='text'>
When either makesyscalls.lua or syscalls.master changes, all of the
${GENERATED} targets are now out-of-date. With make jobs &gt; 1, this means we
will run the makesyscalls script in parallel for the same ABI, generating
the same set of output files.

Prior to r356603 , there is a large window for interlacing output for some
of the generated files that we were generating in-place rather than staging
in a temp dir. After that, we still should't need to run the script more
than once per-ABI as the first invocation should update all of them. Add
.ORDER to do so cleanly.

Reviewed by:	brooks
Discussed with:	sjg
Differential Revision:	https://reviews.freebsd.org/D23099
</content>
</entry>
<entry>
<title>sysent: Reduce duplication and improve readability.</title>
<updated>2019-12-06T23:59:23Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2019-12-06T23:59:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=af796bfa71c709fef199dcb73bfabdc8dbe94c8f'/>
<id>urn:sha1:af796bfa71c709fef199dcb73bfabdc8dbe94c8f</id>
<content type='text'>
Use the power of variable to avoid spelling out source and generated
files too many times.  The previous Makefiles were hard to read, hard to
edit, and badly formatted.

Reviewed by:	kevans, emaste
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D22714
</content>
</entry>
<entry>
<title>Convert in-tree sysent targets to use new makesyscalls.lua</title>
<updated>2019-11-18T23:28:23Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2019-11-18T23:28:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f22a5921112a9b9389e7701b704b174184471924'/>
<id>urn:sha1:f22a5921112a9b9389e7701b704b174184471924</id>
<content type='text'>
flua is bootstrapped as part of the build for those on older
versions/revisions that don't yet have flua installed. Once upgraded past
r354833, "make sysent" will again naturally work as expected.

Reviewed by:	brooks
Differential Revision:	https://reviews.freebsd.org/D21894
</content>
</entry>
<entry>
<title>makesyscalls.sh: always use absolute path for syscalls.conf</title>
<updated>2019-05-30T20:56:23Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2019-05-30T20:56:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4af6033324c5f9d08608c1702e5ac07dec697a97'/>
<id>urn:sha1:4af6033324c5f9d08608c1702e5ac07dec697a97</id>
<content type='text'>
syscalls.conf is included using "." which per the Open Group:

 If file does not contain a &lt;slash&gt;, the shell shall use the search
 path specified by PATH to find the directory containing file.

POSIX shells don't fall back to the current working directory.

Submitted by:	Nathaniel Wesley Filardo &lt;nwf20@cl.cam.ac.uk&gt;
Reviewed by:	bdrewery
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D20476
</content>
</entry>
<entry>
<title>Don't use an .OBJDIR for 'make sysent'.</title>
<updated>2018-01-29T19:14:15Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2018-01-29T19:14:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=595109196aa70002ddd7179ba5c1674b7164013d'/>
<id>urn:sha1:595109196aa70002ddd7179ba5c1674b7164013d</id>
<content type='text'>
Reported by:	emaste, jhb
Sponsored by:	Dell EMC
</content>
</entry>
<entry>
<title>Don't create pointless backups of generated files in "make sysent".</title>
<updated>2016-07-28T21:29:04Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2016-07-28T21:29:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40018b91dde2f73c2973c89898632192b39858ea'/>
<id>urn:sha1:40018b91dde2f73c2973c89898632192b39858ea</id>
<content type='text'>
Any sensible workflow will include a revision control system from which
to restore the old files if required.  In normal usage, developers just
have to clean up the mess.

Reviewed by:	jhb
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D7353
</content>
</entry>
<entry>
<title>add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls</title>
<updated>2011-03-12T08:51:43Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2011-03-12T08:51:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=56ede1074ef3a7b1a6f6ba8f07348531a211b7dc'/>
<id>urn:sha1:56ede1074ef3a7b1a6f6ba8f07348531a211b7dc</id>
<content type='text'>
This commits makes necessary changes in syscall/sysent generation
infrastructure.

PR:		kern/152822
Submitted by:	Artem Belevich &lt;fbsdlist@src.cx&gt;
Reviewed by:	jhb (ealier version)
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>Add preliminary support for running 32-bit Linux binaries on amd64, enabled</title>
<updated>2004-08-16T07:55:06Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2004-08-16T07:55:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea0fabbc4fcb15d10fbcaad14c405826d5eefea3'/>
<id>urn:sha1:ea0fabbc4fcb15d10fbcaad14c405826d5eefea3</id>
<content type='text'>
with the COMPAT_LINUX32 option. This is largely based on the i386 MD Linux
emulations bits, but also builds on the 32-bit FreeBSD and generic IA-32
binary emulation work.

Some of this is still a little rough around the edges, and will need to be
revisited before 32-bit and 64-bit Linux emulation support can coexist in
the same kernel.
</content>
</entry>
</feed>
