1 | # $Id: .scm-settings 69430 2017-10-27 13:30:36Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Source code massager settings for EFI.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2017 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 | /DevEFI.h: --license-ose-dual
|
---|
20 |
|
---|
21 | /Firmware/*: --external-copyright --dont-set-svn-keywords --no-convert-tabs --no-strip-trailing-blanks \
|
---|
22 | --strip-no-trailing-lines --no-force-final-eol --no-fix-todos
|
---|
23 | /Firmware/*.kmk: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
|
---|
24 | --force-final-eol --fix-todos --license-ose-dual
|
---|
25 |
|
---|
26 | /Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/Apple.c: \
|
---|
27 | --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
|
---|
28 | --force-final-eol --fix-todos --license-ose-dual
|
---|
29 |
|
---|
30 | /Firmware/VBox*: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
|
---|
31 | --force-final-eol --fix-todos --license-ose-dual
|
---|
32 |
|
---|
33 |
|
---|
34 | # Build related files using '#' for comments.
|
---|
35 | /Firmware/*.dec: --treat-as Makefile
|
---|
36 | /Firmware/*.dsc: --treat-as Makefile
|
---|
37 | /Firmware/*.fdf: --treat-as Makefile
|
---|
38 | /Firmware/*.inf: --treat-as Makefile
|
---|
39 | /Firmware/BaseTools/Conf/build_rule.template: --treat-as Makefile
|
---|
40 | /Firmware/BaseTools/Conf/target.template: --treat-as Makefile
|
---|
41 | /Firmware/BaseTools/Conf/tools_def.template: --treat-as Makefile
|
---|
42 |
|
---|
43 | # IASL sources.
|
---|
44 | /Firmware/*.asl: --treat-as *.h
|
---|
45 | /Firmware/*.aslc: --treat-as *.h
|
---|
46 |
|
---|
47 | # NASM source.
|
---|
48 | /Firmware/*.nasm: --treat-as .asm
|
---|
49 | /Firmware/*.nasmb: --treat-as .asm
|
---|
50 | /Firmware/*.asm16: --treat-as .asm
|
---|
51 |
|
---|
52 | # cpp processed assembly files.
|
---|
53 | /Firmware/*.s: --treat-as .h
|
---|
54 | /Firmware/*.i: --treat-as .h
|
---|
55 |
|
---|
56 | # GAS assembly files w/o preprocessing.
|
---|
57 | /Firmware/*.S: --treat-as Makefile
|
---|
58 |
|
---|
59 | # Not quite sure what this is, uses C++ comment style.
|
---|
60 | /Firmware/*.vfr: --treat-as .h
|
---|
61 | /Firmware/*.Vfr: --treat-as .h
|
---|
62 |
|
---|
63 | # Linker scripts.
|
---|
64 | /Firmware/*-ld-script: --treat-as .h
|
---|
65 |
|
---|
66 | # Grammar files. Treat as C for now.
|
---|
67 | /Firmware/*.g: --treat-as .c
|
---|
68 |
|
---|
69 | # Not entirely sure what the .dlg files are, but they seems to contain C like license headers.
|
---|
70 | /Firmware/*.dlg: --treat-as .h
|
---|
71 |
|
---|
72 | # Misc.
|
---|
73 | *.xsd: --treat-as .xml
|
---|
74 | /Firmware/*.ini: --treat-as Makefile
|
---|
75 | /Firmware/BaseTools/Conf/FrameworkDatabase.template: --treat-as .xml
|
---|
76 | /Firmware/BaseTools/Source/C/VfrCompile/Pccts/*.r: --treat-as .h
|
---|
77 | /Firmware/BaseTools/BuildEnv: --treat-as .sh
|
---|
78 |
|
---|
79 | # Some normal makefiles (external code, convenience, ...)
|
---|
80 | /Firmware/*.mak: --treat-as Makefile
|
---|
81 | /Firmware/*/makefile1: --treat-as Makefile
|
---|
82 | /Firmware/*/makefile.cygwin: --treat-as Makefile
|
---|
83 | /Firmware/*/makefile.old: --treat-as Makefile
|
---|
84 | /Firmware/BaseTools/Source/C/Makefiles/*.makefile: --treat-as Makefile
|
---|
85 | /Firmware/BaseTools/Source/C/Makefiles/ms.*: --treat-as Makefile
|
---|
86 |
|
---|
87 | # Ignore text files, usually no license stuff there.
|
---|
88 | --filter-out-files *.txt
|
---|
89 | --filter-out-files *.rtf
|
---|
90 | --filter-out-files *.1
|
---|
91 | --filter-out-files /Firmware/*/README
|
---|
92 | --filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/MPW_Read_Me
|
---|
93 | --filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/NOTES.bcc
|
---|
94 | --filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/NOTES.msvc
|
---|
95 | --filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/RIGHTS
|
---|
96 | --filter-out-files /Firmware/ReadMe.vbox
|
---|
97 |
|
---|
98 | # Ignore binary files.
|
---|
99 | --filter-out-files *.raw
|
---|
100 | --filter-out-files *.efi
|
---|
101 | --filter-out-files *.bin
|
---|
102 | --filter-out-files *.obj
|
---|
103 | --filter-out-files *.dll
|
---|
104 | --filter-out-files *.docx
|
---|
105 | --filter-out-files /FirmwareBin/*.fd
|
---|
106 |
|
---|
107 | # The .uni files are UTF-16LE encoded and scm doesn't grok that yet.
|
---|
108 | --filter-out-files *.uni
|
---|
109 |
|
---|
110 | # Ignore patches.
|
---|
111 | --filter-out-files *.patch
|
---|
112 |
|
---|
113 | # Ignore visual C++ project stuff.
|
---|
114 | --filter-out-files *.sln
|
---|
115 | --filter-out-files *.suo
|
---|
116 | --filter-out-files *.vcproj
|
---|
117 |
|
---|
118 | # Misc
|
---|
119 | --filter-out-files */.gitignore
|
---|
120 | --filter-out-files *.ps
|
---|
121 | --filter-out-files /Firmware/BaseTools/Source/Python/Rsa2048Sha256Sign/TestSigningPrivateKey.pem
|
---|
122 | --filter-out-dirs /Firmware/StdLib/Efi/StdLib/etc/.
|
---|
123 |
|
---|
124 | #
|
---|
125 | # VBoxPkg
|
---|
126 | #
|
---|
127 | /Firmware/VBoxPkg/VBoxFsDxe/test/*: --external-copyright --no-strip-trailing-blanks --no-fix-todos --strip-no-trailing-lines
|
---|
128 | /Firmware/VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaFont*.h: --external-copyright
|
---|
129 |
|
---|
130 |
|
---|
131 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --no-convert-tabs
|
---|
132 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --no-convert-tabs
|
---|
133 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --dont-set-svn-keywords
|
---|
134 | #/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --dont-set-svn-keywords
|
---|
135 |
|
---|