Page MenuHomeFreeBSD

libsys: add a dependency for syscall stubs
ClosedPublic

Authored by brooks on Aug 1 2025, 12:38 PM.
Tags
None
Referenced Files
F133480821: D51671.id159846.diff
Sun, Oct 26, 2:50 AM
Unknown Object (File)
Fri, Oct 24, 3:12 PM
Unknown Object (File)
Tue, Oct 21, 6:57 AM
Unknown Object (File)
Sat, Oct 18, 7:19 AM
Unknown Object (File)
Thu, Oct 16, 8:19 AM
Unknown Object (File)
Fri, Oct 10, 1:46 PM
Unknown Object (File)
Fri, Oct 10, 1:46 PM
Unknown Object (File)
Fri, Oct 10, 1:46 PM
Subscribers
None

Details

Summary

Make syscall stubs generated by lib/libsys/Makefile.sys depend on it.
This is slightly overkill, but generating and assembling them is fast.

While here, fix the comment documenting their origin.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 65885
Build 62768: arc lint + arc unit

Event Timeline

brooks created this revision.

Then why not list other includes like compat.h and SYS.h as deps?

This revision is now accepted and ready to land.Aug 1 2025, 1:07 PM
  • Add dependencies on compat.h and SYS.h
This revision now requires review to proceed.Aug 1 2025, 1:45 PM
emaste added inline comments.
lib/libsys/Makefile.sys
138–141

generated assembly?

140

I think it's worth clarifying "somewhat overkill" - it's just that we'll also regenerate on Makefile or compat.h/SYS.h changes that don't actually affect the output presumably

This revision is now accepted and ready to land.Aug 1 2025, 2:01 PM
This revision was automatically updated to reflect the committed changes.