VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/.scm-settings

Last change on this file was 107040, checked in by vboxsync, 2 months ago

EFI/Firmware: Made it build with VCC143 (ak a VS2022). Updated the vbox-tools_def.txt a little (upstream has VS2022, but using VS2019 in the mean time). [renamed asm file to make scm happy] jiraref:VBP-1439

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.8 KB
Line 
1# $Id: .scm-settings 107040 2024-11-19 11:02:44Z vboxsync $
2## @file
3# Source code massager settings for the EFI Firmware.
4#
5
6#
7# Copyright (C) 2017-2024 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/*/VBox*: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
46 --force-final-eol --fix-todos --license-ose-dual
47
48# Build related files using '#' for comments.
49/*.dec: --treat-as Makefile
50/*.dsc: --treat-as Makefile
51/*.fdf: --treat-as Makefile
52/*.inf: --treat-as Makefile
53/BaseTools/Conf/build_rule.template: --treat-as Makefile
54/BaseTools/Conf/target.template: --treat-as Makefile
55/BaseTools/Conf/tools_def.template: --treat-as Makefile
56
57# IASL sources.
58/*.asl: --treat-as *.h
59/*.aslc: --treat-as *.h
60
61# NASM source.
62/*.nasm: --treat-as .asm
63/*.nasmb: --treat-as .asm
64/*.asm16: --treat-as .asm
65
66# cpp processed assembly files.
67/*.s: --treat-as .h
68/*.i: --treat-as .h
69
70# GAS assembly files w/o preprocessing.
71/*.S: --treat-as Makefile
72
73# Python sources.
74/*.pyw: --treat-as python
75
76# Not quite sure what this is, uses C++ comment style.
77/*.vfr: --treat-as .h
78/*.Vfr: --treat-as .h
79
80# Linker scripts.
81/*-ld-script: --treat-as .h
82/*.lds: --treat-as .h
83
84# Grammar files. Treat as C for now.
85/*.g: --treat-as .c
86
87# Not entirely sure what the .dlg files are, but they seems to contain C like license headers.
88/*.dlg: --treat-as .h
89
90# Misc.
91*.xsd: --treat-as .xml
92/*.ini: --treat-as Makefile
93/BaseTools/Conf/FrameworkDatabase.template: --treat-as .xml
94/BaseTools/Source/C/VfrCompile/Pccts/*.r: --treat-as .h
95/BaseTools/BuildEnv: --treat-as .sh
96
97# Files that aren't UTF-8.
98/BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr.r: --skip-unicode-checks
99/BaseTools/Source/C/VfrCompile/Pccts/antlr/AntlrPPC.mak: --skip-unicode-checks
100/BaseTools/Source/C/VfrCompile/Pccts/dlg/DlgPPC.mak: --skip-unicode-checks
101
102# Some normal makefiles (external code, convenience, ...)
103/*.mak: --treat-as Makefile
104/*/makefile1: --treat-as Makefile
105/*/makefile.cygwin: --treat-as Makefile
106/*/makefile.old: --treat-as Makefile
107/BaseTools/Source/C/Makefiles/*.makefile: --treat-as Makefile
108/BaseTools/Source/C/Makefiles/ms.*: --treat-as Makefile
109
110# Ignore most text files, usually no license stuff there. See Readme.txt below.
111--filter-out-files *.rtf
112--filter-out-files *.1
113--filter-out-files /*/README
114--filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/MPW_Read_Me
115--filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/NOTES.bcc
116--filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/NOTES.msvc
117--filter-out-files /BaseTools/Source/C/VfrCompile/Pccts/RIGHTS
118--filter-out-files /ReadMe.vbox
119
120# Ignore binary files.
121--filter-out-files *.raw
122--filter-out-files *.efi
123--filter-out-files *.bin
124--filter-out-files *.obj
125--filter-out-files *.dll
126--filter-out-files *.docx
127
128# The .uni files are UTF-16LE encoded and scm doesn't grok that yet.
129--filter-out-files *.uni
130
131# Ignore patches.
132--filter-out-files *.patch
133
134# Ignore visual C++ project stuff.
135--filter-out-files *.sln
136--filter-out-files *.suo
137--filter-out-files *.vcproj
138
139# Misc
140--filter-out-files */.gitignore
141--filter-out-files */.gitmodules
142--filter-out-files /.mailmap
143--filter-out-files *.cmm
144--filter-out-files *.CMM
145--filter-out-files *.cer
146--filter-out-files *.idf
147--filter-out-files *.g4
148--filter-out-files *.html
149--filter-out-files *.lds
150--filter-out-files *.md
151--filter-out-files *.pem
152--filter-out-files *.ps
153--filter-out-files *.sct
154--filter-out-files *.svg
155--filter-out-files *.rst
156--filter-out-files *.yml
157--filter-out-files *.yaml
158--filter-out-files /BaseTools/Conf/diff.order
159--filter-out-files /BaseTools/Conf/gitattributes
160--filter-out-files /BaseTools/BinPipWrappers/PosixLike/*
161--filter-out-files /BaseTools/Source/Python/Rsa2048Sha256Sign/TestSigningPrivateKey.pem
162--filter-out-files /EmbeddedPkg/Library/FdtLib/Makefile.libfdt
163--filter-out-files /IntelFsp2Pkg/Tools/Tests/ExpectedOutput.bsf
164--filter-out-files /OvmfPkg/AmdSev/Grub/grub.cfg
165--filter-out-files /ShellPkg/Application/ShellCTestApp/*.log
166--filter-out-dirs /StdLib/Efi/StdLib/etc/.
167
168# @todo Temporary until openssl is updated and we can cleanup the eol style mess
169--filter-out-dirs /CryptoPkg/Library/OpensslLib/.
170
171# Ignore PAGE_SIZE related stuff here.
172/OvmfPkg/Include/IndustryStandard/Xen/io/*.h: --no-page-restrictions
173
174
175#
176# VBoxPkg
177#
178/VBoxPkg/VBoxFsDxe/test/*: --external-copyright --no-strip-trailing-blanks --no-fix-todos --strip-no-trailing-lines
179/VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaFont*.h: --external-copyright
180/VBoxPkg/E1kNetDxe/*.*: --external-copyright
181/VBoxPkg/VmwSvga3Dxe/*.*: --external-copyright
182/VBoxPkg/VBoxAcpiPlatformDxe/*.*: --external-copyright
183/VBoxPkg/VBoxMisc/efi-app/Readme.txt: --treat-as .scm-settings
184
185#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --no-convert-tabs
186#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --no-convert-tabs
187#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --dont-set-svn-keywords
188#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --dont-set-svn-keywords
189
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette