2015-04-11 07:44:37 +08:00
|
|
|
*.o
|
|
|
|
*.a
|
|
|
|
*.d
|
2015-05-29 18:00:57 +08:00
|
|
|
*.cmd
|
2016-04-22 03:26:09 +08:00
|
|
|
*.log
|
2015-09-04 21:28:03 +08:00
|
|
|
*.pyc
|
2016-01-07 04:59:28 +08:00
|
|
|
*.swp
|
|
|
|
*.swo
|
2015-06-17 20:06:36 +08:00
|
|
|
*~
|
.gitignore: do not ignore .\#* files
I just wasted dozens of failed build attempts and more than 5 minutes
staring at this cryptic build error:
```
Traceback (most recent call last):
File "scripts/build/parse_syscalls.py", line 216, in <module>
main()
File "scripts/build/parse_syscalls.py", line 194, in main
syscalls, tagged = analyze_headers(args.include, args.scan,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "scripts/build/parse_syscalls.py", line 118, in analyze_headers
with open(one_file, "r", encoding="utf-8") as fp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'zephyr/include/zephyr/pm/.#device.h'
```
Because this file didn't show in `git status`, I kept believing that
building from scratch would make it go away.
`git status` should never hide source files that the build system uses.
Maybe `parse_syscalls.py` should be "Emacs-aware"? Or maybe not. As long
as it's not, `git status` must show every spurious file that might
affect the build and break it.
This is the first time that I see an error like this; so Emacs does not
leave files like this behind on a regular basis. Only when there
is a some sort of glitch; and then we definitely want to know about it.
More generally speaking, the choice of an editor is a personal
preference. So patterns matching Emacs files belong to personal
$HOME/.gitignore files; they shouldn't be mass-duplicated into every
single git repo instead. Stuffing every project with editor-specific
configuration of every editor obviously does not scale. But that's
probably for another day.
This is a partial revert of commit 3f4159c5c7ad ("gitignore: Ignore
emacs temporary edit files")
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-06-08 08:22:51 +08:00
|
|
|
|
|
|
|
# Emacs
|
2022-05-19 05:59:24 +08:00
|
|
|
\#*\#
|
.gitignore: do not ignore .\#* files
I just wasted dozens of failed build attempts and more than 5 minutes
staring at this cryptic build error:
```
Traceback (most recent call last):
File "scripts/build/parse_syscalls.py", line 216, in <module>
main()
File "scripts/build/parse_syscalls.py", line 194, in main
syscalls, tagged = analyze_headers(args.include, args.scan,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "scripts/build/parse_syscalls.py", line 118, in analyze_headers
with open(one_file, "r", encoding="utf-8") as fp:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'zephyr/include/zephyr/pm/.#device.h'
```
Because this file didn't show in `git status`, I kept believing that
building from scratch would make it go away.
`git status` should never hide source files that the build system uses.
Maybe `parse_syscalls.py` should be "Emacs-aware"? Or maybe not. As long
as it's not, `git status` must show every spurious file that might
affect the build and break it.
This is the first time that I see an error like this; so Emacs does not
leave files like this behind on a regular basis. Only when there
is a some sort of glitch; and then we definitely want to know about it.
More generally speaking, the choice of an editor is a personal
preference. So patterns matching Emacs files belong to personal
$HOME/.gitignore files; they shouldn't be mass-duplicated into every
single git repo instead. Stuffing every project with editor-specific
configuration of every editor obviously does not scale. But that's
probably for another day.
This is a partial revert of commit 3f4159c5c7ad ("gitignore: Ignore
emacs temporary edit files")
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2024-06-08 08:22:51 +08:00
|
|
|
|
2018-10-08 23:57:29 +08:00
|
|
|
build*/
|
2022-04-14 01:44:51 +08:00
|
|
|
!doc/build/
|
2022-07-15 20:27:40 +08:00
|
|
|
!scripts/build
|
2020-03-20 23:14:40 +08:00
|
|
|
!tests/drivers/build_all
|
2022-10-10 22:36:22 +08:00
|
|
|
!scripts/pylib/build_helpers
|
2015-06-17 20:10:44 +08:00
|
|
|
cscope.*
|
2015-04-11 07:44:37 +08:00
|
|
|
.dir
|
2018-04-17 00:55:23 +08:00
|
|
|
|
2018-05-06 11:13:22 +08:00
|
|
|
/*.patch
|
|
|
|
|
2018-04-17 00:55:23 +08:00
|
|
|
# The .cache directory will be used to cache toolchain capabilities if
|
|
|
|
# no suitable out-of-tree directory is found.
|
|
|
|
.cache
|
|
|
|
|
2015-04-11 07:44:37 +08:00
|
|
|
outdir
|
2016-04-22 03:26:09 +08:00
|
|
|
outdir-*
|
2015-05-29 18:00:57 +08:00
|
|
|
scripts/basic/fixdep
|
|
|
|
scripts/gen_idt/gen_idt
|
2024-05-22 20:05:32 +08:00
|
|
|
coverage-report
|
|
|
|
doc-coverage.info
|
2015-05-14 02:05:30 +08:00
|
|
|
doc/_build
|
2017-02-10 07:03:51 +08:00
|
|
|
doc/doxygen
|
2016-04-16 04:15:09 +08:00
|
|
|
doc/xml
|
|
|
|
doc/html
|
2017-01-14 11:25:09 +08:00
|
|
|
doc/boards
|
|
|
|
doc/samples
|
2016-04-16 04:15:09 +08:00
|
|
|
doc/latex
|
2017-02-23 08:58:01 +08:00
|
|
|
doc/themes/zephyr-docs-theme
|
2018-10-05 07:30:57 +08:00
|
|
|
sanity-out*
|
2020-12-08 01:18:27 +08:00
|
|
|
twister-out*
|
2023-03-07 01:33:54 +08:00
|
|
|
bsim_out
|
2018-10-19 17:52:03 +08:00
|
|
|
bsim_bt_out
|
2024-05-16 19:28:31 +08:00
|
|
|
myresults.xml
|
2023-04-03 21:21:27 +08:00
|
|
|
tests/RunResults.xml
|
2015-08-22 23:52:23 +08:00
|
|
|
scripts/grub
|
2018-06-15 03:46:17 +08:00
|
|
|
doc/reference/kconfig/*.rst
|
2017-11-11 23:02:00 +08:00
|
|
|
doc/doc.warnings
|
2018-10-10 15:41:22 +08:00
|
|
|
.*project
|
|
|
|
.settings
|
2017-07-17 15:49:20 +08:00
|
|
|
.envrc
|
2018-02-14 21:17:56 +08:00
|
|
|
.vscode
|
2018-10-10 15:41:22 +08:00
|
|
|
hide-defaults-note
|
2021-04-20 00:19:05 +08:00
|
|
|
venv
|
|
|
|
.venv
|
2021-08-21 06:56:32 +08:00
|
|
|
.DS_Store
|
2022-04-22 00:28:20 +08:00
|
|
|
.clangd
|
2024-05-22 20:05:32 +08:00
|
|
|
new.info
|
2018-07-31 22:12:31 +08:00
|
|
|
|
2024-09-12 03:57:02 +08:00
|
|
|
# Cargo drops lock files in projects to capture resolved dependencies.
|
|
|
|
# We don't want to record these.
|
|
|
|
Cargo.lock
|
|
|
|
|
|
|
|
# Cargo encourages a .cargo/config.toml file to symlink to a generated file. Don't save these.
|
|
|
|
.cargo/
|
|
|
|
|
2024-08-29 05:04:30 +08:00
|
|
|
# Normal west builds will place the Rust target directory under the build directory. However,
|
|
|
|
# sometimes IDEs and such will litter these target directories as well.
|
|
|
|
target/
|
|
|
|
|
2021-08-21 06:52:56 +08:00
|
|
|
# CI output
|
|
|
|
compliance.xml
|
|
|
|
_error.types
|
|
|
|
|
2018-09-26 19:00:16 +08:00
|
|
|
# Tag files
|
|
|
|
GPATH
|
|
|
|
GRTAGS
|
|
|
|
GTAGS
|
2019-06-25 04:59:34 +08:00
|
|
|
TAGS
|
|
|
|
tags
|
2018-11-20 22:04:30 +08:00
|
|
|
|
|
|
|
.idea
|
2022-11-19 20:26:02 +08:00
|
|
|
|
|
|
|
# from check_compliance.py
|
2023-01-24 03:36:19 +08:00
|
|
|
BinaryFiles.txt
|
2022-09-15 04:23:15 +08:00
|
|
|
BoardYml.txt
|
2022-11-21 18:16:39 +08:00
|
|
|
Checkpatch.txt
|
2024-06-27 17:52:52 +08:00
|
|
|
ClangFormat.txt
|
2023-01-24 03:36:19 +08:00
|
|
|
DevicetreeBindings.txt
|
2022-09-15 04:23:15 +08:00
|
|
|
GitDiffCheck.txt
|
2023-01-24 03:36:19 +08:00
|
|
|
Gitlint.txt
|
|
|
|
Identity.txt
|
|
|
|
ImageSize.txt
|
2022-11-19 20:26:02 +08:00
|
|
|
Kconfig.txt
|
|
|
|
KconfigBasic.txt
|
2023-06-14 01:42:49 +08:00
|
|
|
KconfigBasicNoModules.txt
|
2022-09-15 04:23:15 +08:00
|
|
|
KconfigHWMv2.txt
|
2023-05-22 22:22:35 +08:00
|
|
|
KeepSorted.txt
|
2023-01-24 03:36:19 +08:00
|
|
|
MaintainersFormat.txt
|
2023-08-15 19:30:01 +08:00
|
|
|
ModulesMaintainers.txt
|
2022-11-19 20:26:02 +08:00
|
|
|
Nits.txt
|
2022-11-21 18:16:39 +08:00
|
|
|
Pylint.txt
|
2024-09-11 00:00:00 +08:00
|
|
|
SphinxLint.txt
|
2024-10-15 17:12:19 +08:00
|
|
|
TextEncoding.txt
|
2023-01-24 03:36:19 +08:00
|
|
|
YAMLLint.txt
|