summaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Collapse)Author
2026-06-15gitignore: Ignore python cache directoriesMichael Ellerman
Running ./scripts/Kconfiglib/setconfig.py leaves the tree with untracked files: Untracked files: (use "git add <file>..." to include in what will be committed) scripts/Kconfiglib/__pycache__/ Add __pycache__ to .gitignore to fix it. Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
2024-12-15top: add ~ files to .gitignoreBen Dooks
Ignore temporary files, and avoid accidentally adding them to a commit. Signed-off-by: Ben Dooks <[email protected]> Reviewed-by: Anup Patel <[email protected]>
2024-11-06top: Add .editorconfig to set basic coding stylesHui Min Mina Chou
EditorConfig [1] ensures consistent coding styles for developers collaborating on the same project across various editors and IDEs. By adopting the Linux project's .editorconfig settings [2] and applying them to OpenSBI, it helps users maintain uniform indentation across different IDEs and version control systems, improving development efficiency. The main difference from Linux project is the addition of 'trim_trailing_whitespace = true', which removes trailing whitespace before newlines. This change affects only three files in OpenSBI, but it improves overall code consistency. $ grep -nr "\s$" --include={*.{c,dts,h,lds,ldS,mk,s,S.py},Kconfig,Makefile,Makefile.*} . ./include/sbi_utils/fdt/fdt_fixup.h:4: * Implement platform specific DT fixups on top of libfdt. ./platform/generic/platform.c:79: * The fw_platform_coldboot_harts_init() function is called by fw_platform_init() ./platform/generic/platform.c:81: * according to the DT property "cold-boot-harts" in "/chosen/opensbi-config" Link: https://editorconfig.org/ [1] Link: https://lore.kernel.org/lkml/[email protected]/T/ [2] Signed-off-by: Hui Min Mina Chou <[email protected]> Reviewed-by: Anup Patel <[email protected]>
2024-07-04.github: Add repo lockdown GitHub workflow and update .gitignoreDongdong Zhang
This commit adds a new GitHub Actions workflow for repository lockdown. The workflow triggers when a pull request is opened, and it notifies the contributor to use the OpenSBI mailing list for patch reviews. Additionally, the .gitignore file is updated to include the .github directory. Signed-off-by: Dongdong Zhang <[email protected]> Reviewed-by: Anup Patel <[email protected]>
2023-08-06gitignore: allow gitignore to ignore most dot fileInochi Amaoto
Nowadays, most of the editor use files or directories begin with dot to store some settings. So let git ignore these files and directories to reduce potential mistakes. Add dot match to ignore any editor file and there are two exceptions: - .gitignore - .clang-format Signed-off-by: Inochi Amaoto <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Anup Patel <[email protected]>
2022-12-05gitignore: add vim swap filesSergey Matyukevich
Update .gitignore for vim swap files. Signed-off-by: Sergey Matyukevich <[email protected]> Reviewed-by: Bin Meng <[email protected]> Reviewed-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]>
2022-10-23Makefile: Add cscope supportTan En De
Add cscope support so that running `make cscope` will generate/update cscope files used for source code browsing, while running `make distclean` will remove the cscope files. Also add entry in .gitignore to ignore generated cscope files. Signed-off-by: Tan En De <[email protected]> Reviewed-by: Xiang W <[email protected]> Reviewed-by: Anup Patel <[email protected]> Reviewed-by: Andrew Jones <[email protected]>
2019-03-05Add tags to .gitignore for being development friendlyXiang Wang
Signed-off-by: Xiang Wang <[email protected]>
2018-12-20Added .gitignoreDamien Le Moal
Ignore build and install directories Signed-off-by: Damien Le Moal <[email protected]>