From 072de836f53be56a70cecf70b43ae43b7ce17376 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 10:08:36 +0000 Subject: [PATCH] mk-rootfs.sh --- kernel/.gitignore | 50 +++++++++++++++++++++++++++++++++++++------------- 1 files changed, 37 insertions(+), 13 deletions(-) diff --git a/kernel/.gitignore b/kernel/.gitignore index f2f21dd..763d0b2 100644 --- a/kernel/.gitignore +++ b/kernel/.gitignore @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only # # NOTE! Don't add files that are generated in specific # subdirectories here. Add them in the ".gitignore" file @@ -15,6 +16,7 @@ *.bin *.bz2 *.c.[012]*.* +*.dt.yaml *.dtb *.dtb.S *.dwo @@ -23,44 +25,50 @@ *.gz *.i *.ko +*.lds *.lex.c *.ll *.lst *.lz4 *.lzma *.lzo +*.mod *.mod.c *.o *.o.* -*.order *.patch *.s *.so *.so.dbg *.su *.symtypes +*.symversions *.tab.[ch] *.tar *.xz +*.zst Module.symvers modules.builtin +modules.order # # Top-level generic files # -/boot.img -/kernel.img -/resource.img -/zboot.img +/*.img +/out/ /tags /TAGS /linux +/modules-only.symvers /vmlinux /vmlinux.32 +/vmlinux.symvers /vmlinux-gdb.py /vmlinuz /System.map /Module.markers +/modules.builtin.modinfo +/modules.nsdeps # # RPM spec file (make rpm-pkg) @@ -83,20 +91,22 @@ /tar-install/ # -# git files that we don't want to ignore even if they are dot-files +# We don't want to ignore the following even if they are dot-files # +!.clang-format +!.cocciconfig +!.get_maintainer.ignore +!.gitattributes !.gitignore !.mailmap -!.cocciconfig -!.clang-format # # Generated include files # -include/config -include/generated -include/ksym -arch/*/include/generated +/include/config/ +/include/generated/ +/include/ksym/ +/arch/*/include/generated/ # stgit generated dirs patches-* @@ -132,7 +142,21 @@ x509.genkey # Kconfig presets -all.config +/all.config +/alldef.config +/allmod.config +/allno.config +/allrandom.config +/allyes.config + +# Kconfig savedefconfig output +/defconfig # Kdevelop4 *.kdev4 + +# Clang's compilation database file +/compile_commands.json + +# Documentation toolchain +sphinx_*/ -- Gitblit v1.6.2