Skip to content
Snippets Groups Projects
  • Linus Torvalds's avatar
    ca71b3ba
    Merge tag 'kbuild-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · ca71b3ba
    Linus Torvalds authored
    Pull more Kbuild updates from Masahiro Yamada:
    
     - pass HOSTLDFLAGS when compiling single .c host programs
    
     - build genksyms lexer and parser files instead of using shipped
       versions
    
     - rename *-asn1.[ch] to *.asn1.[ch] for suffix consistency
    
     - let the top .gitignore globally ignore artifacts generated by flex,
       bison, and asn1_compiler
    
     - let the top Makefile globally clean artifacts generated by flex,
       bison, and asn1_compiler
    
     - use safer .SECONDARY marker instead of .PRECIOUS to prevent
       intermediate files from being removed
    
     - support -fmacro-prefix-map option to make __FILE__ a relative path
    
     - fix # escaping to prepare for the future GNU Make release
    
     - clean up deb-pkg by using debian tools instead of handrolled
       source/changes generation
    
     - improve rpm-pkg portability by supporting kernel-install as a
       fallback of new-kernel-pkg
    
     - extend Kconfig listnewconfig target to provide more information
    
    * tag 'kbuild-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
      kconfig: extend output of 'listnewconfig'
      kbuild: rpm-pkg: use kernel-install as a fallback for new-kernel-pkg
      Kbuild: fix # escaping in .cmd files for future Make
      kbuild: deb-pkg: split generating packaging and build
      kbuild: use -fmacro-prefix-map to make __FILE__ a relative path
      kbuild: mark $(targets) as .SECONDARY and remove .PRECIOUS markers
      kbuild: rename *-asn1.[ch] to *.asn1.[ch]
      kbuild: clean up *-asn1.[ch] patterns from top-level Makefile
      .gitignore: move *-asn1.[ch] patterns to the top-level .gitignore
      kbuild: add %.dtb.S and %.dtb to 'targets' automatically
      kbuild: add %.lex.c and %.tab.[ch] to 'targets' automatically
      genksyms: generate lexer and parser during build instead of shipping
      kbuild: clean up *.lex.c and *.tab.[ch] patterns from top-level Makefile
      .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore
      kbuild: use HOSTLDFLAGS for single .c executables
    ca71b3ba
    History
    Merge tag 'kbuild-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
    Linus Torvalds authored
    Pull more Kbuild updates from Masahiro Yamada:
    
     - pass HOSTLDFLAGS when compiling single .c host programs
    
     - build genksyms lexer and parser files instead of using shipped
       versions
    
     - rename *-asn1.[ch] to *.asn1.[ch] for suffix consistency
    
     - let the top .gitignore globally ignore artifacts generated by flex,
       bison, and asn1_compiler
    
     - let the top Makefile globally clean artifacts generated by flex,
       bison, and asn1_compiler
    
     - use safer .SECONDARY marker instead of .PRECIOUS to prevent
       intermediate files from being removed
    
     - support -fmacro-prefix-map option to make __FILE__ a relative path
    
     - fix # escaping to prepare for the future GNU Make release
    
     - clean up deb-pkg by using debian tools instead of handrolled
       source/changes generation
    
     - improve rpm-pkg portability by supporting kernel-install as a
       fallback of new-kernel-pkg
    
     - extend Kconfig listnewconfig target to provide more information
    
    * tag 'kbuild-v4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
      kconfig: extend output of 'listnewconfig'
      kbuild: rpm-pkg: use kernel-install as a fallback for new-kernel-pkg
      Kbuild: fix # escaping in .cmd files for future Make
      kbuild: deb-pkg: split generating packaging and build
      kbuild: use -fmacro-prefix-map to make __FILE__ a relative path
      kbuild: mark $(targets) as .SECONDARY and remove .PRECIOUS markers
      kbuild: rename *-asn1.[ch] to *.asn1.[ch]
      kbuild: clean up *-asn1.[ch] patterns from top-level Makefile
      .gitignore: move *-asn1.[ch] patterns to the top-level .gitignore
      kbuild: add %.dtb.S and %.dtb to 'targets' automatically
      kbuild: add %.lex.c and %.tab.[ch] to 'targets' automatically
      genksyms: generate lexer and parser during build instead of shipping
      kbuild: clean up *.lex.c and *.tab.[ch] patterns from top-level Makefile
      .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore
      kbuild: use HOSTLDFLAGS for single .c executables
.gitignore 1.46 KiB
#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# NOTE! Please use 'git ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Normal rules (sorted alphabetically)
#
.*
*.a
*.asn1.[ch]
*.bin
*.bz2
*.c.[012]*.*
*.dtb
*.dtb.S
*.dwo
*.elf
*.gcno
*.gz
*.i
*.ko
*.lex.c
*.ll
*.lst
*.lz4
*.lzma
*.lzo
*.mod.c
*.o
*.o.*
*.order
*.patch
*.s
*.so
*.so.dbg
*.su
*.symtypes
*.tab.[ch]
*.tar
*.xz
Module.symvers
modules.builtin

#
# Top-level generic files
#
/tags
/TAGS
/linux
/vmlinux
/vmlinux.32
/vmlinux-gdb.py
/vmlinuz
/System.map
/Module.markers

#
# RPM spec file (make rpm-pkg)
#
/*.spec

#
# Debian directory (make deb-pkg)
#
/debian/
#
# Snap directory (make snap-pkg)
#
/snap/

#
# tar directory (make tar*-pkg)
#
/tar-install/

#
# git files that we don't want to ignore even if they are dot-files
#
!.gitignore
!.mailmap
!.cocciconfig
!.clang-format

#
# Generated include files
#
include/config
include/generated
include/ksym
arch/*/include/generated

# stgit generated dirs
patches-*

# quilt's files
patches
series

# cscope files
cscope.*
ncscope.*

# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

# id-utils files
ID

*.orig
*~
\#*#

#
# Leavings from module signing
#
extra_certificates
signing_key.pem
signing_key.priv
signing_key.x509
x509.genkey

# Kconfig presets
all.config

# Kdevelop4
*.kdev4