Page MenuHomeFreeBSD

libsys: add a dependency for syscall stubs
ClosedPublic

Authored by brooks on Aug 1 2025, 12:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 11, 4:17 AM
Unknown Object (File)
Thu, Sep 4, 2:02 PM
Unknown Object (File)
Thu, Sep 4, 2:48 AM
Unknown Object (File)
Sat, Aug 30, 8:52 AM
Unknown Object (File)
Tue, Aug 26, 11:32 PM
Unknown Object (File)
Tue, Aug 26, 11:23 PM
Unknown Object (File)
Tue, Aug 26, 4:17 PM
Unknown Object (File)
Tue, Aug 26, 4:06 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.