[69293] | 1 | # $Id: .scm-settings 106061 2024-09-16 14:03:52Z vboxsync $
|
---|
| 2 | ## @file
|
---|
[77616] | 3 | # Source code massager settings for the EFI Firmware.
|
---|
[69293] | 4 | #
|
---|
| 5 |
|
---|
| 6 | #
|
---|
[106061] | 7 | # Copyright (C) 2017-2024 Oracle and/or its affiliates.
|
---|
[69293] | 8 | #
|
---|
[96407] | 9 | # This file is part of VirtualBox base platform packages, as
|
---|
| 10 | # available from https://www.virtualbox.org.
|
---|
[69293] | 11 | #
|
---|
[96407] | 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 | #
|
---|
[69293] | 27 |
|
---|
| 28 |
|
---|
[77616] | 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
|
---|
[69293] | 31 |
|
---|
[77616] | 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
|
---|
[69429] | 34 |
|
---|
[77616] | 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
|
---|
[69429] | 37 |
|
---|
[77616] | 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
|
---|
[69429] | 41 |
|
---|
[77616] | 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
|
---|
[69429] | 44 |
|
---|
[77616] | 45 |
|
---|
[69429] | 46 | # Build related files using '#' for comments.
|
---|
[77616] | 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
|
---|
[69429] | 54 |
|
---|
| 55 | # IASL sources.
|
---|
[77616] | 56 | /*.asl: --treat-as *.h
|
---|
| 57 | /*.aslc: --treat-as *.h
|
---|
[69429] | 58 |
|
---|
| 59 | # NASM source.
|
---|
[77616] | 60 | /*.nasm: --treat-as .asm
|
---|
| 61 | /*.nasmb: --treat-as .asm
|
---|
| 62 | /*.asm16: --treat-as .asm
|
---|
[69429] | 63 |
|
---|
| 64 | # cpp processed assembly files.
|
---|
[77616] | 65 | /*.s: --treat-as .h
|
---|
| 66 | /*.i: --treat-as .h
|
---|
[69429] | 67 |
|
---|
| 68 | # GAS assembly files w/o preprocessing.
|
---|
[77616] | 69 | /*.S: --treat-as Makefile
|
---|
[69429] | 70 |
|
---|
[93941] | 71 | # Python sources.
|
---|
| 72 | /*.pyw: --treat-as python
|
---|
| 73 |
|
---|
[69429] | 74 | # Not quite sure what this is, uses C++ comment style.
|
---|
[77616] | 75 | /*.vfr: --treat-as .h
|
---|
| 76 | /*.Vfr: --treat-as .h
|
---|
[69429] | 77 |
|
---|
| 78 | # Linker scripts.
|
---|
[77616] | 79 | /*-ld-script: --treat-as .h
|
---|
[93941] | 80 | /*.lds: --treat-as .h
|
---|
[69429] | 81 |
|
---|
| 82 | # Grammar files. Treat as C for now.
|
---|
[77616] | 83 | /*.g: --treat-as .c
|
---|
[69429] | 84 |
|
---|
| 85 | # Not entirely sure what the .dlg files are, but they seems to contain C like license headers.
|
---|
[77616] | 86 | /*.dlg: --treat-as .h
|
---|
[69429] | 87 |
|
---|
| 88 | # Misc.
|
---|
| 89 | *.xsd: --treat-as .xml
|
---|
[77616] | 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
|
---|
[69429] | 94 |
|
---|
[92185] | 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 |
|
---|
[69429] | 100 | # Some normal makefiles (external code, convenience, ...)
|
---|
[77616] | 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
|
---|
[69429] | 107 |
|
---|
[96357] | 108 | # Ignore most text files, usually no license stuff there. See Readme.txt below.
|
---|
[69429] | 109 | --filter-out-files *.rtf
|
---|
| 110 | --filter-out-files *.1
|
---|
[77616] | 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
|
---|
[69429] | 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
|
---|
[93941] | 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
|
---|
[69429] | 150 | --filter-out-files *.ps
|
---|
[93941] | 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/*
|
---|
[77616] | 159 | --filter-out-files /BaseTools/Source/Python/Rsa2048Sha256Sign/TestSigningPrivateKey.pem
|
---|
[93941] | 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
|
---|
[77616] | 164 | --filter-out-dirs /StdLib/Efi/StdLib/etc/.
|
---|
[69429] | 165 |
|
---|
[80957] | 166 | # @todo Temporary until openssl is updated and we can cleanup the eol style mess
|
---|
[80958] | 167 | --filter-out-dirs /CryptoPkg/Library/OpensslLib/.
|
---|
[80957] | 168 |
|
---|
[93941] | 169 | # Ignore PAGE_SIZE related stuff here.
|
---|
| 170 | /OvmfPkg/Include/IndustryStandard/Xen/io/*.h: --no-page-restrictions
|
---|
| 171 |
|
---|
| 172 |
|
---|
[69429] | 173 | #
|
---|
| 174 | # VBoxPkg
|
---|
| 175 | #
|
---|
[77616] | 176 | /VBoxPkg/VBoxFsDxe/test/*: --external-copyright --no-strip-trailing-blanks --no-fix-todos --strip-no-trailing-lines
|
---|
| 177 | /VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaFont*.h: --external-copyright
|
---|
[89464] | 178 | /VBoxPkg/E1kNetDxe/*.*: --external-copyright
|
---|
[100682] | 179 | /VBoxPkg/VmwSvga3Dxe/*.*: --external-copyright
|
---|
[96357] | 180 | /VBoxPkg/VBoxMisc/efi-app/Readme.txt: --treat-as .scm-settings
|
---|
[69429] | 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 |
|
---|