-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
61 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# File | ||
|
||
A file entry describes information about a file that should be linked in a | ||
segment. | ||
|
||
Every attribute listed is optional unless explicitly stated. | ||
|
||
## `path` | ||
|
||
This is **required**. | ||
|
||
Path to the file. | ||
|
||
The `base_path` from settings is used as a base for the emitted path. | ||
|
||
### Example | ||
|
||
```yaml | ||
segments: | ||
- name: boot | ||
files: | ||
- { path: src/boot/boot_main.o } | ||
``` | ||
### Valid values | ||
Any valid path. | ||
## `kind` | ||
|
||
Specifies the type of file entry. | ||
|
||
### Example | ||
|
||
```yaml | ||
segments: | ||
- name: boot | ||
files: | ||
- { path: src/boot/utils.o, kind: object } | ||
``` | ||
|
||
### Valid values | ||
|
||
- `object`: The path points to a relocatable object file. | ||
|
||
### Default value | ||
|
||
Guessed from `path` using the following file extensions: | ||
|
||
- `.o`: `Object`. | ||
- Anything else: `Object`. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters