X7ROOT File Manager
Current Path:
/usr/src/kernels/3.10.0-957.10.1.el7.x86_64/scripts
usr
/
src
/
kernels
/
3.10.0-957.10.1.el7.x86_64
/
scripts
/
📁
..
📄
Kbuild.include
(10.25 KB)
📄
Lindent
(460 B)
📄
Makefile
(1.39 KB)
📄
Makefile.asm-generic
(684 B)
📄
Makefile.build
(15.91 KB)
📄
Makefile.clean
(3.23 KB)
📄
Makefile.fwinst
(2.03 KB)
📄
Makefile.headersinst
(4.72 KB)
📄
Makefile.help
(68 B)
📄
Makefile.host
(6.46 KB)
📄
Makefile.lib
(13.57 KB)
📄
Makefile.modbuiltin
(1.78 KB)
📄
Makefile.modinst
(1.16 KB)
📄
Makefile.modpost
(5.15 KB)
📄
Makefile.modsign
(1003 B)
📄
asn1_compiler
(22.39 KB)
📄
asn1_compiler.c
(33.97 KB)
📁
basic
📄
bloat-o-meter
(1.75 KB)
📄
bootgraph.pl
(5.62 KB)
📄
checkincludes.pl
(1.77 KB)
📄
checkkconfigsymbols.sh
(1.82 KB)
📄
checkpatch.pl
(101.34 KB)
📄
checkstack.pl
(5.33 KB)
📄
checksyscalls.sh
(5.64 KB)
📄
checkversion.pl
(1.86 KB)
📄
cleanfile
(3.41 KB)
📄
cleanpatch
(5.01 KB)
📄
coccicheck
(3.78 KB)
📁
coccinelle
📄
config
(3.65 KB)
📄
conmakehash
(10.22 KB)
📄
conmakehash.c
(6 KB)
📄
decodecode
(2.15 KB)
📄
depmod.sh
(1.67 KB)
📄
diffconfig
(3.54 KB)
📄
docproc.c
(13.69 KB)
📁
dtc
📄
export_report.pl
(4.53 KB)
📄
extract-ikconfig
(1.64 KB)
📄
extract-vmlinux
(1.6 KB)
📄
gcc-goto.sh
(465 B)
📄
gcc-version.sh
(822 B)
📄
gcc-x86_32-has-stack-protector.sh
(184 B)
📄
gcc-x86_64-has-stack-protector.sh
(200 B)
📄
gen_initramfs_list.sh
(7.38 KB)
📁
genksyms
📄
get_maintainer.pl
(54.11 KB)
📄
gfp-translate
(1.71 KB)
📄
headerdep.pl
(3.46 KB)
📄
headers.sh
(530 B)
📄
headers_check.pl
(3.6 KB)
📄
headers_install.sh
(1.28 KB)
📄
kallsyms
(14.46 KB)
📄
kallsyms.c
(16.52 KB)
📁
kconfig
📄
kernel-doc
(71.41 KB)
📁
ksymoops
📄
link-vmlinux.sh
(5.65 KB)
📄
makelst
(773 B)
📄
markup_oops.pl
(8.08 KB)
📄
mkcompile_h
(2.46 KB)
📄
mkmakefile
(1.17 KB)
📄
mksysmap
(1.32 KB)
📄
mkuboot.sh
(379 B)
📄
mkversion
(74 B)
📁
mod
📄
module-common.lds
(757 B)
📄
modules.order
(0 B)
📄
namespace.pl
(13 KB)
📁
package
📄
patch-kernel
(9.91 KB)
📄
pnmtologo
(14.24 KB)
📄
pnmtologo.c
(11.91 KB)
📄
profile2linkerlist.pl
(375 B)
📄
recordmcount
(18.34 KB)
📄
recordmcount.c
(12.4 KB)
📄
recordmcount.h
(16.34 KB)
📄
recordmcount.pl
(17.5 KB)
📁
rt-tester
📁
selinux
📄
setlocalversion
(3.94 KB)
📄
show_delta
(2.98 KB)
📄
sign-file
(12.16 KB)
📄
sortextable
(14.24 KB)
📄
sortextable.c
(7.41 KB)
📄
sortextable.h
(5.48 KB)
📄
tags.sh
(9.87 KB)
📁
tracing
📄
unifdef
(26.39 KB)
📄
unifdef.c
(34.8 KB)
📄
ver_linux
(3.09 KB)
📄
xz_wrap.sh
(562 B)
Editing: Makefile.headersinst
# ========================================================================== # Installing headers # # header-y - list files to be installed. They are preprocessed # to remove __KERNEL__ section of the file # genhdr-y - Same as header-y but in a generated/ directory # # ========================================================================== # generated header directory gen := $(if $(gen),$(gen),$(subst include/,include/generated/,$(obj))) kbuild-file := $(srctree)/$(obj)/Kbuild include $(kbuild-file) # called may set destination dir (when installing to asm/) _dst := $(if $(destination-y),$(destination-y),$(if $(dst),$(dst),$(obj))) old-kbuild-file := $(srctree)/$(subst uapi/,,$(obj))/Kbuild ifneq ($(wildcard $(old-kbuild-file)),) include $(old-kbuild-file) endif include scripts/Kbuild.include installdir := $(INSTALL_HDR_PATH)/$(subst uapi/,,$(_dst)) header-y := $(sort $(header-y)) subdirs := $(patsubst %/,%,$(filter %/, $(header-y))) header-y := $(filter-out %/, $(header-y)) # files used to track state of install/check install-file := $(installdir)/.install check-file := $(installdir)/.check # generic-y list all files an architecture uses from asm-generic # Use this to build a list of headers which require a wrapper wrapper-files := $(filter $(header-y), $(generic-y)) srcdir := $(srctree)/$(obj) gendir := $(objtree)/$(gen) oldsrcdir := $(srctree)/$(subst /uapi,,$(obj)) # all headers files for this dir header-y := $(filter-out $(generic-y), $(header-y)) all-files := $(header-y) $(genhdr-y) $(wrapper-files) output-files := $(addprefix $(installdir)/, $(all-files)) input-files1 := $(foreach hdr, $(header-y), \ $(if $(wildcard $(srcdir)/$(hdr)), \ $(wildcard $(srcdir)/$(hdr))) \ ) input-files1-name := $(notdir $(input-files1)) input-files2 := $(foreach hdr, $(header-y), \ $(if $(wildcard $(srcdir)/$(hdr)),, \ $(if $(wildcard $(oldsrcdir)/$(hdr)), \ $(wildcard $(oldsrcdir)/$(hdr)), \ $(error Missing UAPI file $(srcdir)/$(hdr))) \ )) input-files2-name := $(notdir $(input-files2)) input-files3 := $(foreach hdr, $(genhdr-y), \ $(if $(wildcard $(gendir)/$(hdr)), \ $(wildcard $(gendir)/$(hdr)), \ $(error Missing generated UAPI file $(gendir)/$(hdr)) \ )) input-files3-name := $(notdir $(input-files3)) # Work out what needs to be removed oldheaders := $(patsubst $(installdir)/%,%,$(wildcard $(installdir)/*.h)) unwanted := $(filter-out $(all-files),$(oldheaders)) # Prefix unwanted with full paths to $(INSTALL_HDR_PATH) unwanted-file := $(addprefix $(installdir)/, $(unwanted)) printdir = $(patsubst $(INSTALL_HDR_PATH)/%/,%,$(dir $@)) quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\ file$(if $(word 2, $(all-files)),s)) cmd_install = \ $(CONFIG_SHELL) $< $(installdir) $(srcdir) $(input-files1-name); \ $(CONFIG_SHELL) $< $(installdir) $(oldsrcdir) $(input-files2-name); \ $(CONFIG_SHELL) $< $(installdir) $(gendir) $(input-files3-name); \ for F in $(wrapper-files); do \ echo "\#include <asm-generic/$$F>" > $(installdir)/$$F; \ done; \ touch $@ quiet_cmd_remove = REMOVE $(unwanted) cmd_remove = rm -f $(unwanted-file) quiet_cmd_check = CHECK $(printdir) ($(words $(all-files)) files) # Headers list can be pretty long, xargs helps to avoid # the "Argument list too long" error. cmd_check = for f in $(all-files); do \ echo "$(installdir)/$${f}"; done \ | xargs \ $(PERL) $< $(INSTALL_HDR_PATH)/include $(SRCARCH); \ touch $@ PHONY += __headersinst __headerscheck ifndef HDRCHECK # Rules for installing headers __headersinst: $(subdirs) $(install-file) @: targets += $(install-file) $(install-file): scripts/headers_install.sh $(input-files1) $(input-files2) $(input-files3) FORCE $(if $(unwanted),$(call cmd,remove),) $(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@))) $(call if_changed,install) else __headerscheck: $(subdirs) $(check-file) @: targets += $(check-file) $(check-file): scripts/headers_check.pl $(output-files) FORCE $(call if_changed,check) endif # Recursion hdr-inst := -rR -f $(srctree)/scripts/Makefile.headersinst obj .PHONY: $(subdirs) $(subdirs): $(Q)$(MAKE) $(hdr-inst)=$(obj)/$@ dst=$(_dst)/$@ targets := $(wildcard $(sort $(targets))) cmd_files := $(wildcard \ $(foreach f,$(targets),$(dir $(f)).$(notdir $(f)).cmd)) ifneq ($(cmd_files),) include $(cmd_files) endif .PHONY: $(PHONY) PHONY += FORCE FORCE: ;
Upload File
Create Folder