mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-24 04:23:04 +00:00
4575b35479
This code is gated behind the CHAINLOADING define. To build a release-style m1n1 with chainloading for use with the installer or kmutil, use: make CHAINLOADING=1 RELEASE=1 To tell m1n1 to chainload another binary, use this var payload: chainload=<ESP partition UUID>;<file path> e.g. chainload=a17b7e46-e950-bb4f-bc82-8ab1047a058e;m1n1/m1n1.bin Closes: #154 Co-authored-by: Finn Behrens <me@kloenk.dev> Co-authored-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Hector Martin <marcan@marcan.st>
32 lines
927 B
YAML
32 lines
927 B
YAML
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
UseTab: Never
|
|
BreakBeforeBraces: Linux
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortFunctionsOnASingleLine: false
|
|
AlignConsecutiveMacros: true
|
|
IndentCaseLabels: true
|
|
ColumnLimit: 100
|
|
IncludeBlocks: Regroup
|
|
IncludeIsMainRegex: '(_.*)?$'
|
|
|
|
# Include block order goes like this
|
|
# - config.h style files, including ../config.h
|
|
# - system headers (<>)
|
|
# - All m1n1 headers, starting with the "this file" header, rest sorted
|
|
# - 3rd party code headers
|
|
# - build artifact headers (stuff outside of src/)
|
|
IncludeCategories:
|
|
- Regex: '^"(\.\./)*build/build_.*\.h"$'
|
|
Priority: -3
|
|
- Regex: '^"(\.\./)*config\.h"$'
|
|
Priority: -2
|
|
- Regex: '^<'
|
|
Priority: -1
|
|
- Regex: '^"\.\./'
|
|
Priority: 3
|
|
- Regex: '/'
|
|
Priority: 2
|
|
- Regex: '.*'
|
|
Priority: 0
|
|
SortPriority: 1
|