1 | # $Id: .scm-settings 80958 2019-09-23 18:50:23Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Source code massager settings for the EFI Firmware.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2017-2019 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 | # Not quite sure what this is, uses C++ comment style.
|
---|
62 | /*.vfr: --treat-as .h
|
---|
63 | /*.Vfr: --treat-as .h
|
---|
64 |
|
---|
65 | # Linker scripts.
|
---|
66 | /*-ld-script: --treat-as .h
|
---|
67 |
|
---|
68 | # Grammar files. Treat as C for now.
|
---|
69 | /*.g: --treat-as .c
|
---|
70 |
|
---|
71 | # Not entirely sure what the .dlg files are, but they seems to contain C like license headers.
|
---|
72 | /*.dlg: --treat-as .h
|
---|
73 |
|
---|
74 | # Misc.
|
---|
75 | *.xsd: --treat-as .xml
|
---|
76 | /*.ini: --treat-as Makefile
|
---|
77 | /BaseTools/Conf/FrameworkDatabase.template: --treat-as .xml
|
---|
78 | /BaseTools/Source/C/VfrCompile/Pccts/*.r: --treat-as .h
|
---|
79 | /BaseTools/BuildEnv: --treat-as .sh
|
---|
80 |
|
---|
81 | # Some normal makefiles (external code, convenience, ...)
|
---|
82 | /*.mak: --treat-as Makefile
|
---|
83 | /*/makefile1: --treat-as Makefile
|
---|
84 | /*/makefile.cygwin: --treat-as Makefile
|
---|
85 | /*/makefile.old: --treat-as Makefile
|
---|
86 | /BaseTools/Source/C/Makefiles/*.makefile: --treat-as Makefile
|
---|
87 | /BaseTools/Source/C/Makefiles/ms.*: --treat-as Makefile
|
---|
88 |
|
---|
89 | # Ignore text files, usually no license stuff there.
|
---|
90 | --filter-out-files *.txt
|
---|
91 | --filter-out-files *.rtf
|
---|
92 | --filter-out-files *.1
|
---|
93 | --filter-out-files /*/README
|
---|
94 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/MPW_Read_Me
|
---|
95 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/NOTES.bcc
|
---|
96 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/NOTES.msvc
|
---|
97 | --filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/RIGHTS
|
---|
98 | --filter-out-files /ReadMe.vbox
|
---|
99 |
|
---|
100 | # Ignore binary files.
|
---|
101 | --filter-out-files *.raw
|
---|
102 | --filter-out-files *.efi
|
---|
103 | --filter-out-files *.bin
|
---|
104 | --filter-out-files *.obj
|
---|
105 | --filter-out-files *.dll
|
---|
106 | --filter-out-files *.docx
|
---|
107 |
|
---|
108 | # The .uni files are UTF-16LE encoded and scm doesn't grok that yet.
|
---|
109 | --filter-out-files *.uni
|
---|
110 |
|
---|
111 | # Ignore patches.
|
---|
112 | --filter-out-files *.patch
|
---|
113 |
|
---|
114 | # Ignore visual C++ project stuff.
|
---|
115 | --filter-out-files *.sln
|
---|
116 | --filter-out-files *.suo
|
---|
117 | --filter-out-files *.vcproj
|
---|
118 |
|
---|
119 | # Misc
|
---|
120 | --filter-out-files */.gitignore
|
---|
121 | --filter-out-files *.ps
|
---|
122 | --filter-out-files /BaseTools/Source/Python/Rsa2048Sha256Sign/TestSigningPrivateKey.pem
|
---|
123 | --filter-out-dirs /StdLib/Efi/StdLib/etc/.
|
---|
124 |
|
---|
125 | # @todo Temporary until openssl is updated and we can cleanup the eol style mess
|
---|
126 | --filter-out-dirs /CryptoPkg/Library/OpensslLib/.
|
---|
127 |
|
---|
128 | #
|
---|
129 | # VBoxPkg
|
---|
130 | #
|
---|
131 | /VBoxPkg/VBoxFsDxe/test/*: --external-copyright --no-strip-trailing-blanks --no-fix-todos --strip-no-trailing-lines
|
---|
132 | /VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaFont*.h: --external-copyright
|
---|
133 |
|
---|
134 |
|
---|
135 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --no-convert-tabs
|
---|
136 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --no-convert-tabs
|
---|
137 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --dont-set-svn-keywords
|
---|
138 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --dont-set-svn-keywords
|
---|
139 |
|
---|