summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/EFI/.scm-settings
blob: 52ee60ecbe3113b0900b53d41940cbd5a2bd9efb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# $Id: .scm-settings $
## @file
# Source code massager settings for EFI.
#

#
# Copyright (C) 2017-2019 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#


/DevEFI.h: --license-ose-dual

/Firmware/*:     --external-copyright --dont-set-svn-keywords --no-convert-tabs --no-strip-trailing-blanks \
                 --strip-no-trailing-lines --no-force-final-eol --no-fix-todos --no-fix-header-guards
/Firmware/*.kmk: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
                 --force-final-eol --fix-todos --license-ose-dual

/Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/Apple.c: \
                 --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
                 --force-final-eol --fix-todos --license-ose-dual

/Firmware/VBox*: --no-external-copyright --set-svn-keywords --convert-tabs --strip-trailing-blanks --strip-trailing-lines \
                 --force-final-eol --fix-todos --license-ose-dual


# Build related files using '#' for comments.
/Firmware/*.dec:        --treat-as Makefile
/Firmware/*.dsc:        --treat-as Makefile
/Firmware/*.fdf:        --treat-as Makefile
/Firmware/*.inf:        --treat-as Makefile
/Firmware/BaseTools/Conf/build_rule.template:   --treat-as Makefile
/Firmware/BaseTools/Conf/target.template:       --treat-as Makefile
/Firmware/BaseTools/Conf/tools_def.template:    --treat-as Makefile

# IASL sources.
/Firmware/*.asl:        --treat-as *.h
/Firmware/*.aslc:       --treat-as *.h

# NASM source.
/Firmware/*.nasm:       --treat-as .asm
/Firmware/*.nasmb:      --treat-as .asm
/Firmware/*.asm16:      --treat-as .asm

# cpp processed assembly files.
/Firmware/*.s:          --treat-as .h
/Firmware/*.i:          --treat-as .h

# GAS assembly files w/o preprocessing.
/Firmware/*.S:          --treat-as Makefile

# Not quite sure what this is, uses C++ comment style.
/Firmware/*.vfr:        --treat-as .h
/Firmware/*.Vfr:        --treat-as .h

# Linker scripts.
/Firmware/*-ld-script:  --treat-as .h

# Grammar files. Treat as C for now.
/Firmware/*.g:          --treat-as .c

# Not entirely sure what the .dlg files are, but they seems to contain C like license headers.
/Firmware/*.dlg:        --treat-as .h

# Misc.
*.xsd:                  --treat-as .xml
/Firmware/*.ini:        --treat-as Makefile
/Firmware/BaseTools/Conf/FrameworkDatabase.template:    --treat-as .xml
/Firmware/BaseTools/Source/C/VfrCompile/Pccts/*.r:      --treat-as .h
/Firmware/BaseTools/BuildEnv:                           --treat-as .sh

# Some normal makefiles (external code, convenience, ...)
/Firmware/*.mak:        --treat-as Makefile
/Firmware/*/makefile1:  --treat-as Makefile
/Firmware/*/makefile.cygwin:                            --treat-as Makefile
/Firmware/*/makefile.old:                               --treat-as Makefile
/Firmware/BaseTools/Source/C/Makefiles/*.makefile:      --treat-as Makefile
/Firmware/BaseTools/Source/C/Makefiles/ms.*:            --treat-as Makefile

# Ignore text files, usually no license stuff there.
--filter-out-files *.txt
--filter-out-files *.rtf
--filter-out-files *.1
--filter-out-files /Firmware/*/README
--filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/MPW_Read_Me
--filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/NOTES.bcc
--filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/NOTES.msvc
--filter-out-files /Firmware/BaseTools/Source/C/VfrCompile/Pccts/RIGHTS
--filter-out-files /Firmware/ReadMe.vbox

# Ignore binary files.
--filter-out-files *.raw
--filter-out-files *.efi
--filter-out-files *.bin
--filter-out-files *.obj
--filter-out-files *.dll
--filter-out-files *.docx
--filter-out-files /FirmwareBin/*.fd

# The .uni files are UTF-16LE encoded and scm doesn't grok that yet.
--filter-out-files *.uni

# Ignore patches.
--filter-out-files *.patch

# Ignore visual C++ project stuff.
--filter-out-files *.sln
--filter-out-files *.suo
--filter-out-files *.vcproj

# Misc
--filter-out-files */.gitignore
--filter-out-files *.ps
--filter-out-files /Firmware/BaseTools/Source/Python/Rsa2048Sha256Sign/TestSigningPrivateKey.pem
--filter-out-dirs  /Firmware/StdLib/Efi/StdLib/etc/.

#
# VBoxPkg
#
/Firmware/VBoxPkg/VBoxFsDxe/test/*: --external-copyright --no-strip-trailing-blanks --no-fix-todos --strip-no-trailing-lines
/Firmware/VBoxPkg/VBoxVgaMiniPortDxe/VBoxVgaFont*.h: --external-copyright


#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --no-convert-tabs
#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --no-convert-tabs
#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxVgaDxe/Edid.c: --dont-set-svn-keywords
#/src/VBox/Devices/EFI/Firmware2/VBoxPkg/VBoxFsDxe/*.*: --dont-set-svn-keywords