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