82 Commits

Author SHA1 Message Date
Ariel Abreu
767b4082c6
Use our LKM's generated syscall.h in SDK 2020-11-05 10:43:04 -05:00
Ariel Abreu
d076f2bb46
Update SDK symlinks and submodules
[skip ci]

Skipping CI because I know the build is currently broken with this commit; I'm going to revert our use of mDNSResponder and add back our libsystem_dnssd stub, and then patch up libresolv/libinfo to fix DNS resolution (if necessary)
2020-11-01 23:47:05 -05:00
Ariel Abreu
417f10ac21
Update target triplet and emulated OS version 2020-10-29 12:57:07 -04:00
Thomas A
03db084961 Abstract Architecture Detection/Assignment
The main goal of this commit is to make it more easy to add or update any architecture we want to support (such as ARM64). Any changes we want to make would be done in the architectures.cmake file.

The secondary goal of this commit is to encourage a more architecture generic nomenclature. We shouldn't use i368/x86_64 unless we are dealing with code that is specific to those architectures.
2020-09-27 18:54:06 -07:00
Ariel Abreu
7a07bbe6e5
Implement _os_cpu_number on top of Linux getcpu 2020-09-27 21:37:56 -04:00
Ariel Abreu
61e930548a
Symlink some Darling headers into the SDK 2020-09-20 18:33:05 -04:00
Ariel Abreu
2467bda513
Check-in netname.h
This is another one of those libsyscall headers that needs to be available ahead of time because of parallel builds
2020-09-01 10:14:32 -04:00
Ariel Abreu
59f2d81700
Update SDK symlinks 2020-09-01 10:06:44 -04:00
Ariel Abreu
4e1cc7dc9c
Symlink libarchive into the SDK 2020-08-31 21:32:44 -04:00
Ariel Abreu
7aa85c2c95
Symlink sys/endian.h into the SDK 2020-08-31 20:31:23 -04:00
Ariel Abreu
7ba408b796
Update SDK symlinks 2020-08-27 22:30:44 -04:00
Ariel Abreu
506534033b
Update SDK symlinks 2020-08-20 16:47:11 -04:00
Ariel Abreu
7819ca3ece
Stub CFOpenDirectory
The public headers are imported from the macOS SDK and from the last released OpenDirectory (version 146); it's ok to import them from the SDK because they're still APSL licensed
2020-08-20 16:33:31 -04:00
Ariel Abreu
4af426111c
Update SDK symlinks 2020-08-18 20:04:07 -04:00
Ariel Abreu
7bf91da1d4
Add some pre-generated MIG headers
Reason: CMake's dependency scanner doesn't detect that some of the headers are generated and it doesn't try to generate them for other targets that depend on them indirectly (e.g. libc) and therefore parallel builds will fail.

The temporary solution is to check-in the generated headers into the source (just like we were doing before in `platform-include`). The proper solution would be to manually add dependencies for each target that needs the headers (which is pretty much *everything*), but that's ridiculous. Honestly, CMake should be able to detect this on its own, but whatever; this is a workaround.
2020-08-04 15:12:12 -04:00
Ariel Abreu
6a70ee5af5
Add libutil.h symlink into the SDK 2020-08-02 14:34:21 -04:00
Ariel Abreu
d9eb59b7ae
Add/update some more SDK includes 2020-08-01 22:11:10 -04:00
Ariel Abreu
aceaa68bf2
Add msgcat.h SDK symlink 2020-07-30 14:30:42 -04:00
Ariel Abreu
e18f03beeb
Update expat and some SDK symlinks 2020-07-29 08:57:35 -04:00
Ariel Abreu
12c6e2d6fa
Add some more SDK symlinks 2020-07-28 11:04:36 -04:00
Ariel Abreu
24cb5d03b9
Update SDK symlinks 2020-07-26 21:46:23 -04:00
Ariel Abreu
b91f298c19
Add BerkeleyDB 2020-07-26 21:45:39 -04:00
Ariel Abreu
7af80ac66c
Add fmdb symlink in SDK 2020-07-24 23:13:39 -04:00
Ariel Abreu
f5722174cf
Add libtelnet SDK symlinks 2020-07-24 16:54:35 -04:00
Ariel Abreu
504a614902
Update SDK symlinks
Added IOKit to usr/include for IOKitTools (IIRC?) because it uses `Kernel/IOKit/IOKitDebugging.h`, and our Kernel framework headers directory is just a symlink to usr/include at the moment (this'll be fixed later)
2020-07-24 14:44:17 -04:00
Ariel Abreu
cbfc616cbd Update SDK symlinks 2020-07-23 15:41:09 -04:00
Ariel Abreu
9ec6315bda
Update CFNetwork header symlinks to include private headers 2020-07-16 14:42:12 -04:00
Ariel Abreu
f72cf64a79
Update SDK symlinks 2020-07-15 12:17:07 -04:00
Ariel Abreu
157c5445aa
xar-420 2020-07-05 21:52:08 -04:00
Ariel Abreu
c62a60df69
Add some more SDK header symlinks 2020-07-05 13:46:21 -04:00
Ariel Abreu
5e35640f25
Update openpam and SDK header symlinks 2020-07-03 07:39:22 -04:00
Ariel Abreu
e0132e4b7b
Update libxslt and SDK header symlinks 2020-07-02 21:52:04 -04:00
Ariel Abreu
b8d26b76d1
Update libxpc and add an SDK header symlink 2020-07-02 21:05:50 -04:00
Ariel Abreu
418a294f08
Add bootfiles.h symlink in SDK 2020-07-02 10:13:38 -04:00
Ariel Abreu
93aeda9d21
libedit-55 2020-07-01 23:45:42 -04:00
Ariel Abreu
02588c68d7
Update/add some SDK header symlinks 2020-07-01 23:18:37 -04:00
Ariel Abreu
d5f5a418ed
Add some BSM headers to the SDK 2020-07-01 22:40:33 -04:00
Ariel Abreu
3c9026f618
Update libxml2 and SDK header symlinks 2020-07-01 13:47:35 -04:00
Ariel Abreu
0d3d7b8bf9
Update icu and SDK header symlinks 2020-07-01 10:56:25 -04:00
Ariel Abreu
9e7c933506
Update bzip2 and SDK symlinks 2020-06-30 13:38:00 -04:00
Ariel Abreu
ef9d96f195
Fix up some SDK header symlinks 2020-06-29 23:34:47 -04:00
Ariel Abreu
978b76e066
Create SDK header symlinks for CommonNumerics 2020-06-23 17:40:12 -04:00
Ariel Abreu
4210413820
Update coretls and fix some SDK header symlinks 2020-06-16 16:11:21 -04:00
Ariel Abreu
c950869171
Update commoncrypto and its SDK header symlinks 2020-06-16 15:55:02 -04:00
Ariel Abreu
9b23a7dbbe
Add NSSystemDirectories.h and sysdir.h from the old platform-include 2020-06-16 14:46:28 -04:00
Ariel Abreu
bba9911934
Symlink malloc_implementation.h into the SDK 2020-06-16 12:28:45 -04:00
Ariel Abreu
84ad5c1ff4
Fix broken pthread_machdep.h symlink 2020-06-16 09:51:22 -04:00
Ariel Abreu
20ab534eb4
Fix copyfile header links in the SDK; add Kernel framework to the SDK
For now, the Kernel framework just links to the SDK headers, just like the System framework
2020-06-16 08:50:06 -04:00
Ariel Abreu
7c3df4e5ec
Add more headers to the SDK
These are for libdarwin
2020-06-15 20:42:51 -04:00
Ariel Abreu
38dd79e337
Add os/api.h to the SDK 2020-06-15 14:10:47 -04:00