1 | # $Id: .scm-settings 100682 2023-07-21 14:27:13Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Source code massager settings for the EFI Firmware.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2017-2023 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | #
|
---|
27 |
|
---|
28 |
|
---|
29 | /*: --external-copyright --dont-set-svn-keywords --no-convert-tabs --no-strip-trailing-blanks \
|
---|
30 | --strip-no-trailing-lines --no-force-final-eol --no-fix-todos --no-fix-header-guards
|
---|
31 |
|
---|
32 | /.scm-settings: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
|
---|
33 | --force-final-eol --fix-todos --license-ose-gpl
|
---|
34 |
|
---|
35 | /*.kmk: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
|
---|
36 | --force-final-eol --fix-todos --license-ose-dual
|
---|
37 |
|
---|
38 | /MdeModulePkg/Universal/Disk/PartitionDxe/Apple.c: \
|
---|
39 | --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
|
---|
40 | --force-final-eol --fix-todos --license-ose-dual
|
---|
41 |
|
---|
42 | /VBox*: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
|
---|
43 | --force-final-eol --fix-todos --license-ose-dual
|
---|
44 |
|
---|
45 |
|
---|
46 | # Build related files using '#' for comments.
|
---|
47 | /*.dec: --treat-as Makefile
|
---|
48 | /*.dsc: --treat-as Makefile
|
---|
49 | /*.fdf: --treat-as Makefile
|
---|
50 | /*.inf: --treat-as Makefile
|
---|
51 | /BaseTools/Conf/build_rule.template: --treat-as Makefile
|
---|
52 | /BaseTools/Conf/target.template: --treat-as Makefile
|
---|
53 | /BaseTools/Conf/tools_def.template: --treat-as Makefile
|
---|
54 |
|
---|
55 | # IASL sources.
|
---|
56 | /*.asl: --treat-as *.h
|
---|
57 | /*.aslc: --treat-as *.h
|
---|
58 |
|
---|
59 | # NASM source.
|
---|
60 | /*.nasm: --treat-as .asm
|
---|
61 | /*.nasmb: --treat-as .asm
|
---|
62 | /*.asm16: --treat-as .asm
|
---|
63 |
|
---|
64 | # cpp processed assembly files.
|
---|
65 | /*.s: --treat-as .h
|
---|
66 | /*.i: --treat-as .h
|
---|
67 |
|
---|
68 | # GAS assembly files w/o preprocessing.
|
---|
69 | /*.S: --treat-as Makefile
|
---|
70 |
|
---|
71 | # Python sources.
|
---|
72 | /*.pyw: --treat-as python
|
---|
73 |
|
---|
74 | # Not quite sure what this is, uses C++ comment style.
|
---|
75 | /*.vfr: --treat-as .h
|
---|
76 | /*.Vfr: --treat-as .h
|
---|
77 |
|
---|
78 | # Linker scripts.
|
---|
79 | /*-ld-script: --treat-as .h
|
---|
80 | /*.lds: --treat-as .h
|
---|
81 |
|
---|
82 | # Grammar files. Treat as C for now.
|
---|
83 | /*.g: --treat-as .c
|
---|
84 |
|
---|
85 | # Not entirely sure what the .dlg files are, but they seems to contain C like license headers.
|
---|
86 | /*.dlg: --treat-as .h
|
---|
87 |
|
---|
88 | # Misc.
|
---|
89 | *.xsd: --treat-as .xml
|
---|
90 | /*.ini: --treat-as Makefile
|
---|
91 | /BaseTools/Conf/FrameworkDatabase.template: --treat-as .xml
|
---|
92 | /BaseTools/Source/C/VfrCompile/Pccts/*.r: --treat-as .h
|
---|
93 | /BaseTools/BuildEnv: --treat-as .sh
|
---|
94 |
|
---|
95 | # Files that aren't UTF-8.
|
---|
96 | /BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr.r: --skip-unicode-checks
|
---|
97 | /BaseTools/Source/C/VfrCompile/Pccts/antlr/AntlrPPC.mak: --skip-unicode-checks
|
---|
98 | /BaseTools/Source/C/VfrCompile/Pccts/dlg/DlgPPC.mak: --skip-unicode-checks
|
---|
99 |
|
---|
100 | # Some normal makefiles (external code, convenience, ...)
|
---|
101 | /*.mak: --treat-as Makefile
|
---|
102 | /*/makefile1: --treat-as Makefile
|
---|
103 | /*/makefile.cygwin: --treat-as Makefile
|
---|
104 | /*/makefile.old: --treat-as Makefile
|
---|
105 | /BaseTools/Source/C/Makefiles/*.makefile: --treat-as Makefile
|
---|
106 | /BaseTools/Source/C/Makefiles/ms.*: --treat-as Makefile
|
---|
107 |
|
---|
108 | # Ignore most text files, usually no license stuff there. See Readme.txt below.
|
---|
109 | --filter-out-files *.rtf
|
---|
110 | --filter-out-files *.1
|
---|
111 | --filter-out-files /*/README
|
---|
112 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/MPW_Read_Me
|
---|
113 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/NOTES.bcc
|
---|
114 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/NOTES.msvc
|
---|
115 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/RIGHTS
|
---|
116 | --filter-out-files /ReadMe.vbox
|
---|
117 |
|
---|
118 | # Ignore binary files.
|
---|
119 | --filter-out-files *.raw
|
---|
120 | --filter-out-files *.efi
|
---|
121 | --filter-out-files *.bin
|
---|
122 | --filter-out-files *.obj
|
---|
123 | --filter-out-files *.dll
|
---|
124 | --filter-out-files *.docx
|
---|
125 |
|
---|
126 | # The .uni files are UTF-16LE encoded and scm doesn't grok that yet.
|
---|
127 | --filter-out-files *.uni
|
---|
128 |
|
---|
129 | # Ignore patches.
|
---|
130 | --filter-out-files *.patch
|
---|
131 |
|
---|
132 | # Ignore visual C++ project stuff.
|
---|
133 | --filter-out-files *.sln
|
---|
134 | --filter-out-files *.suo
|
---|
135 | --filter-out-files *.vcproj
|
---|
136 |
|
---|
137 | # Misc
|
---|
138 | --filter-out-files */.gitignore
|
---|
139 | --filter-out-files */.gitmodules
|
---|
140 | --filter-out-files /.mailmap
|
---|
141 | --filter-out-files *.cmm
|
---|
142 | --filter-out-files *.CMM
|
---|
143 | --filter-out-files *.cer
|
---|
144 | --filter-out-files *.idf
|
---|
145 | --filter-out-files *.g4
|
---|
146 | --filter-out-files *.html
|
---|
147 | --filter-out-files *.lds
|
---|
148 | --filter-out-files *.md
|
---|
149 | --filter-out-files *.pem
|
---|
150 | --filter-out-files *.ps
|
---|
151 | --filter-out-files *.sct
|
---|
152 | --filter-out-files *.svg
|
---|
153 | --filter-out-files *.rst
|
---|
154 | --filter-out-files *.yml
|
---|
155 | --filter-out-files *.yaml
|
---|
156 | --filter-out-files /BaseTools/Conf/diff.order
|
---|
157 | --filter-out-files /BaseTools/Conf/gitattributes
|
---|
158 | --filter-out-files /BaseTools/BinPipWrappers/PosixLike/*
|
---|
159 | --filter-out-files /BaseTools/Source/Python/Rsa2048Sha256Sign/TestSigningPrivateKey.pem
|
---|
160 | --filter-out-files /EmbeddedPkg/Library/FdtLib/Makefile.libfdt
|
---|
161 | --filter-out-files /IntelFsp2Pkg/Tools/Tests/ExpectedOutput.bsf
|
---|
162 | --filter-out-files /OvmfPkg/AmdSev/Grub/grub.cfg
|
---|
163 | --filter-out-files /ShellPkg/Application/ShellCTestApp/*.log
|
---|
164 | --filter-out-dirs /StdLib/Efi/StdLib/etc/.
|
---|
165 |
|
---|
166 | # @todo Temporary until openssl is updated and we can cleanup the eol style mess
|
---|
167 | --filter-out-dirs /CryptoPkg/Library/OpensslLib/.
|
---|
168 |
|
---|
169 | # Ignore PAGE_SIZE related stuff here.
|
---|
170 | /OvmfPkg/Include/IndustryStandard/Xen/io/*.h: --no-page-restrictions
|
---|
171 |
|
---|
172 |
|
---|
173 | #
|
---|
174 | # VBoxPkg
|
---|
175 | #
|
---|
176 | /VBoxPkg/VBoxFsDxe/test/*: --external-copyright --no-strip-trailing-blanks --no-fix-todos --strip-no-trailing-lines
|
---|
177 | /VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaFont*.h: --external-copyright
|
---|
178 | /VBoxPkg/E1kNetDxe/*.*: --external-copyright
|
---|
179 | /VBoxPkg/VmwSvga3Dxe/*.*: --external-copyright
|
---|
180 | /VBoxPkg/VBoxMisc/efi-app/Readme.txt: --treat-as .scm-settings
|
---|
181 |
|
---|
182 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --no-convert-tabs
|
---|
183 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --no-convert-tabs
|
---|
184 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --dont-set-svn-keywords
|
---|
185 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --dont-set-svn-keywords
|
---|
186 |
|
---|