| /xnu-11215/makedefs/ |
| H A D | MakeInc.dir | 6 # build behavior with minimal effort while promoting code reuse. 9 # to be a list of subdirectories in order for the build system to automatically 11 # for those targets to be built, and then (3) build the target `do_build_setup` 21 # This function/template provides generic recursive build functionality that 22 # allows you to specify a list of subdirectories, a target to build in those 23 # subdirectories, and a target to build in the current directory afterwards. 27 # $(1): The target to build in each subdirectory. 29 # $(3): The target to build in the current directory _after_ the subdirectory 104 # Post-process build results
|
| H A D | MakeInc.top | 6 # build system. All the main XBS targets 14 # invoke the recursive make build system. 178 # kernel's recursive build system will build the 3rd element as the KernelPlatform 324 # $(5) is how many build configurations to build in parallel 325 # $(6) is which build configs to build in parallel 371 # $(2) is the build config that must build first 372 # $(3) is the build config that must build after $(2) 541 .PHONY: build 543 build: build_all_bootstrap 546 # Post-process build results [all …]
|
| H A D | MakeInc.san | 10 # Generates rule to build symbolset file from specific export file. 31 # Generate rule to build System.kext plugin for give sanitizer. 49 # Generate rule to build System.kext plugin in SYMROOT 53 # $(3) - build configs to get symbolset binaries from corresponding OBJDIR
|
| H A D | MakeInc.cmd | 6 # the build, as well as make fragments and text 11 # Commands for the build environment 264 export SCAN_BUILD := $(shell $(XCRUN) -sdk $(SDKROOT) -find scan-build 2> /dev/null) 303 # Scripts or tools we build ourselves 420 # Similar to build configs, but alias configs are a 4-tuple 463 # $(1) is a fully-expanded build config (like "RELEASE^X86_64^NONE") 470 # $(1) is a fully-expanded build config (like "RELEASE^X86_64^NONE") 476 # Returns build config if both architecture and kernel configuration match. 478 # $(1) - list of build configs 491 # Returns build config if kernel configuration matches. [all …]
|
| H A D | MakeInc.kernel | 6 # recursive build system with rules specific 29 # Generate xnu version file early (from build environment or SDK/KDK) 44 # Rules for the highly parallel "build" phase, where each build configuration 45 # writes into their own $(TARGET) independent of other build configs 47 # There are 5 primary build outputs: 335 # Install rules. Each build config is classified as "primary" (the first 336 # config for an architecture) or "non-primary". Primary build configs 339 # $(DSTROOT)/$(KERNEL_FILE_NAME), and consequently each primary build config 341 # build configs. Non-primary build configs will never compete for
|
| H A D | MakeInc.color | 6 # colored output of the build log. 14 # Get a nice list of device code names associated with the build platform
|
| H A D | MakeInc.def | 422 # produce better diagnostics but a slower build. 442 # breaking the build they can be explicitly be prevented from being errors by 495 # Instrumentation for other sanitizers is enabled explicitly at build time. 612 # affect the UBSAN build outside of the entries that are legitimately 644 # Any extra flags that get passed at the command line during build. 686 # When making non-compatible changes to the XNU runtime, it can be useful to build 688 # Uncomment the lines below to be able to build development, but passing KASAN=1. 1070 # code *.o files for xnu to build (i.e, setsegname runs on 1074 # do not utilize an export list. For these configs to build, 1342 # Overrides for XBS build aliases
|
| /xnu-11215/ |
| H A D | README.md | 16 * `makedefs` - top level rules and defines for kernel build. 38 * `<arch>`: can be valid arch to build for. (E.g. `X86_64`) 40 To build a kernel for the same architecture as running OS, just type 53 …efault, the architecture is set to the build machine's architecture, and the default kernel config… 85 * To build with RELEASE kernel configuration 111 The XNU build system can optionally output color-formatted build output. To enable this, you can ei… 139 To build a kernelcache you can use the following mechanisms: 151 * Manually invoking `kextcache` to build new kernelcache. 195 Set up your build environment and from the top directory, run: 198 make TAGS # this will build etags [all …]
|
| /xnu-11215/doc/building/ |
| H A D | bound_checks.md | 9 xnu's build system supports several options controlling the enforcement of 16 -fbounds-safety is enabled at a file granularity in the xnu build system. 17 Whether a given file builds with -fbounds-safety is controlled by the build 20 bsd/conf/files is where build system modifications were made. 46 To debug a panic in a build optimizing for code size, we can read disassembly 100 file to build with `bound-checks-pending`; 108 The configuration status quo of any file in xnu is to build with no options 119 Until `bound-checks-soft` is enabled, it must still be possible to build that 124 are compatible with -fbounds-safety to continue to build without it, while 146 the build as well. Given unfortunate-enough timing, there _may not be time_ to [all …]
|
| H A D | xnu_version.md | 3 Incorporating the version number into xnu's build. 36 * `S` represents the kernel build stage (one of `d`, `a`, `b`, or `r`) 43 can be used for build-time version logic and prototypes for variables that can
|
| H A D | xnu_build_consolidation.md | 3 Making xnu build more efficently when targetting several devices at once. 124 sharing a single build. Note that these no longer reflect actual counts and sizes, and the real val… 133 Currently, a family of per-SoC macros are defined at build time to enable XNU to conditionally comp…
|
| /xnu-11215/tests/iokit/ |
| H A D | io_catalog_send_data.m | 102 "build an IORegistry entry with mismatching IOService and " 119 /* this trick to build an entry by io_catalog_send_data should fail */ 120 T_EXPECT_EQ(kret, kIOReturnNotPrivileged, "build an entry with"
|
| /xnu-11215/libkern/kxld/ |
| H A D | Makefile | 122 release: build 125 debug: build 128 profile: build 133 build: $(LIBKXLDSYM_$(PRODUCT_TYPE)) target
|
| /xnu-11215/tools/tests/perf_index/ |
| H A D | README | 66 build alias, so you can also find a copy on ~rc at: 69 Alternatively you can build it yourself using make like so: 73 # build for Mac, current OS 75 # build for iOS 80 # build for only armv7 and armv7s
|
| /xnu-11215/libkern/libkern/ |
| H A D | version.h.template | 62 /* OSBUILD_CONFIG, osbuild_config is a one-word string describing the build 109 * "Darwin Kernel Version <osrelease>: <build date>; <osbuilder>:<build root>"
|
| /xnu-11215/EXTERNAL_HEADERS/ |
| H A D | stdbool.h | 37 #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)
|
| H A D | stddef.h | 29 #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)
|
| H A D | stdarg.h | 34 #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)
|
| H A D | stdint.h | 8 #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)
|
| H A D | stdatomic.h | 32 #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)
|
| /xnu-11215/bsd/arm/ |
| H A D | limits.h | 73 #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)
|
| /xnu-11215/bsd/i386/ |
| H A D | limits.h | 74 #error Do not build with -nostdinc (use GCC_USE_STANDARD_INCLUDE_SEARCHING=NO)
|
| /xnu-11215/tools/tests/MPMMTest/ |
| H A D | README | 3 These tests measure the speed of IPC with mach messaging and kqueues. To build,
|
| /xnu-11215/tools/ |
| H A D | remote_build.sh | 220 …rsync $RSYNC_ARGS --delete $RSYNC_DELETE_EXCLUDED --include=/build.sh --include=/BuildTools --incl…
|
| /xnu-11215/osfmk/tests/ |
| H A D | README.md | 85 ~osdev/tat/dev/bin/bats build -b <build> -t darwinLTE -p xnu:<branch> -r <radarnum>
|