p!ranha?
Server IP : 103.169.32.36  /  Your IP : 216.73.217.13
Web Server : Apache
System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/scripts/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /usr/lib/modules/3.10.0-1160.105.1.el7.x86_64/build/scripts//Makefile.host
# ==========================================================================
# Building binaries on the host system
# Binaries are used during the compilation of the kernel, for example
# to preprocess a data file.
#
# Both C and C++ are supported, but preferred language is C for such utilities.
#
# Sample syntax (see Documentation/kbuild/makefiles.txt for reference)
# hostprogs-y := bin2hex
# Will compile bin2hex.c and create an executable named bin2hex
#
# hostprogs-y    := lxdialog
# lxdialog-objs := checklist.o lxdialog.o
# Will compile lxdialog.c and checklist.c, and then link the executable
# lxdialog, based on checklist.o and lxdialog.o
#
# hostprogs-y      := qconf
# qconf-cxxobjs   := qconf.o
# qconf-objs      := menu.o
# Will compile qconf as a C++ program, and menu as a C program.
# They are linked as C++ code to the executable qconf

# hostprogs-y := conf
# conf-objs  := conf.o libkconfig.so
# libkconfig-objs := expr.o type.o
# Will create a shared library named libkconfig.so that consists of
# expr.o and type.o (they are both compiled as C code and the object files
# are made as position independent code).
# conf.c is compiled as a C program, and conf.o is linked together with
# libkconfig.so as the executable conf.
# Note: Shared libraries consisting of C++ files are not supported

__hostprogs := $(sort $(hostprogs-y) $(hostprogs-m))

# C code
# Executables compiled from a single .c file
host-csingle	:= $(foreach m,$(__hostprogs),$(if $($(m)-objs),,$(m)))

# C executables linked based on several .o files
host-cmulti	:= $(foreach m,$(__hostprogs),\
		   $(if $($(m)-cxxobjs),,$(if $($(m)-objs),$(m))))

# Object (.o) files compiled from .c files
host-cobjs	:= $(sort $(foreach m,$(__hostprogs),$($(m)-objs)))

# C++ code
# C++ executables compiled from at least on .cc file
# and zero or more .c files
host-cxxmulti	:= $(foreach m,$(__hostprogs),$(if $($(m)-cxxobjs),$(m)))

# C++ Object (.o) files compiled from .cc files
host-cxxobjs	:= $(sort $(foreach m,$(host-cxxmulti),$($(m)-cxxobjs)))

# Shared libaries (only .c supported)
# Shared libraries (.so) - all .so files referenced in "xxx-objs"
host-cshlib	:= $(sort $(filter %.so, $(host-cobjs)))
# Remove .so files from "xxx-objs"
host-cobjs	:= $(filter-out %.so,$(host-cobjs))

#Object (.o) files used by the shared libaries
host-cshobjs	:= $(sort $(foreach m,$(host-cshlib),$($(m:.so=-objs))))

# output directory for programs/.o files
# hostprogs-y := tools/build may have been specified. Retrieve directory
host-objdirs := $(foreach f,$(__hostprogs), $(if $(dir $(f)),$(dir $(f))))
# directory of .o files from prog-objs notation
host-objdirs += $(foreach f,$(host-cmulti),                  \
                    $(foreach m,$($(f)-objs),                \
                        $(if $(dir $(m)),$(dir $(m)))))
# directory of .o files from prog-cxxobjs notation
host-objdirs += $(foreach f,$(host-cxxmulti),                  \
                    $(foreach m,$($(f)-cxxobjs),                \
                        $(if $(dir $(m)),$(dir $(m)))))

host-objdirs := $(strip $(sort $(filter-out ./,$(host-objdirs))))


__hostprogs     := $(addprefix $(obj)/,$(__hostprogs))
host-csingle	:= $(addprefix $(obj)/,$(host-csingle))
host-cmulti	:= $(addprefix $(obj)/,$(host-cmulti))
host-cobjs	:= $(addprefix $(obj)/,$(host-cobjs))
host-cxxmulti	:= $(addprefix $(obj)/,$(host-cxxmulti))
host-cxxobjs	:= $(addprefix $(obj)/,$(host-cxxobjs))
host-cshlib	:= $(addprefix $(obj)/,$(host-cshlib))
host-cshobjs	:= $(addprefix $(obj)/,$(host-cshobjs))
host-objdirs    := $(addprefix $(obj)/,$(host-objdirs))

obj-dirs += $(host-objdirs)

#####
# Handle options to gcc. Support building with separate output directory

_hostc_flags   = $(HOSTCFLAGS)   $(HOST_EXTRACFLAGS)   \
                 $(HOSTCFLAGS_$(basetarget).o)
_hostcxx_flags = $(HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \
                 $(HOSTCXXFLAGS_$(basetarget).o)

ifeq ($(KBUILD_SRC),)
__hostc_flags	= $(_hostc_flags)
__hostcxx_flags	= $(_hostcxx_flags)
else
__hostc_flags	= -I$(obj) $(call flags,_hostc_flags)
__hostcxx_flags	= -I$(obj) $(call flags,_hostcxx_flags)
endif

hostc_flags    = -Wp,-MD,$(depfile) $(__hostc_flags)
hostcxx_flags  = -Wp,-MD,$(depfile) $(__hostcxx_flags)

#####
# Compile programs on the host

# Create executable from a single .c file
# host-csingle -> Executable
quiet_cmd_host-csingle 	= HOSTCC  $@
      cmd_host-csingle	= $(HOSTCC) $(hostc_flags) -o $@ $< \
	  	$(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
$(host-csingle): $(obj)/%: $(src)/%.c FORCE
	$(call if_changed_dep,host-csingle)

# Link an executable based on list of .o files, all plain c
# host-cmulti -> executable
quiet_cmd_host-cmulti	= HOSTLD  $@
      cmd_host-cmulti	= $(HOSTCC) $(HOSTLDFLAGS) -o $@ \
			  $(addprefix $(obj)/,$($(@F)-objs)) \
			  $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
$(host-cmulti): $(obj)/%: $(host-cobjs) $(host-cshlib) FORCE
	$(call if_changed,host-cmulti)

# Create .o file from a single .c file
# host-cobjs -> .o
quiet_cmd_host-cobjs	= HOSTCC  $@
      cmd_host-cobjs	= $(HOSTCC) $(hostc_flags) -c -o $@ $<
$(host-cobjs): $(obj)/%.o: $(src)/%.c FORCE
	$(call if_changed_dep,host-cobjs)

# Link an executable based on list of .o files, a mixture of .c and .cc
# host-cxxmulti -> executable
quiet_cmd_host-cxxmulti	= HOSTLD  $@
      cmd_host-cxxmulti	= $(HOSTCXX) $(HOSTLDFLAGS) -o $@ \
			  $(foreach o,objs cxxobjs,\
			  $(addprefix $(obj)/,$($(@F)-$(o)))) \
			  $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
$(host-cxxmulti): $(obj)/%: $(host-cobjs) $(host-cxxobjs) $(host-cshlib) FORCE
	$(call if_changed,host-cxxmulti)

# Create .o file from a single .cc (C++) file
quiet_cmd_host-cxxobjs	= HOSTCXX $@
      cmd_host-cxxobjs	= $(HOSTCXX) $(hostcxx_flags) -c -o $@ $<
$(host-cxxobjs): $(obj)/%.o: $(src)/%.cc FORCE
	$(call if_changed_dep,host-cxxobjs)

# Compile .c file, create position independent .o file
# host-cshobjs -> .o
quiet_cmd_host-cshobjs	= HOSTCC  -fPIC $@
      cmd_host-cshobjs	= $(HOSTCC) $(hostc_flags) -fPIC -c -o $@ $<
$(host-cshobjs): $(obj)/%.o: $(src)/%.c FORCE
	$(call if_changed_dep,host-cshobjs)

# Link a shared library, based on position independent .o files
# *.o -> .so shared library (host-cshlib)
quiet_cmd_host-cshlib	= HOSTLLD -shared $@
      cmd_host-cshlib	= $(HOSTCC) $(HOSTLDFLAGS) -shared -o $@ \
			  $(addprefix $(obj)/,$($(@F:.so=-objs))) \
			  $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F))
$(host-cshlib): $(obj)/%: $(host-cshobjs) FORCE
	$(call if_changed,host-cshlib)

targets += $(host-csingle)  $(host-cmulti) $(host-cobjs)\
	   $(host-cxxmulti) $(host-cxxobjs) $(host-cshlib) $(host-cshobjs) 

N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
January 19 2024 08:12:52
0 / 0
0755
basic
--
January 19 2024 08:12:51
0 / 0
0755
coccinelle
--
January 19 2024 08:12:51
0 / 0
0755
dtc
--
January 19 2024 08:12:51
0 / 0
0755
genksyms
--
January 19 2024 08:12:52
0 / 0
0755
kconfig
--
January 19 2024 08:12:52
0 / 0
0755
ksymoops
--
January 19 2024 08:12:52
0 / 0
0755
mod
--
January 19 2024 08:12:52
0 / 0
0755
package
--
January 19 2024 08:12:52
0 / 0
0755
rt-tester
--
January 19 2024 08:12:52
0 / 0
0755
selinux
--
January 19 2024 08:12:52
0 / 0
0755
tracing
--
January 19 2024 08:12:52
0 / 0
0755
Kbuild.include
10.251 KB
November 06 2023 09:15:52
0 / 0
0644
Lindent
0.449 KB
November 06 2023 09:15:52
0 / 0
0755
Makefile
1.394 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.asm-generic
0.668 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.build
15.908 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.clean
3.232 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.fwinst
2.026 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.headersinst
4.716 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.help
0.066 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.host
6.458 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.lib
13.569 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.modbuiltin
1.783 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.modinst
1.158 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.modpost
5.148 KB
November 06 2023 09:15:52
0 / 0
0644
Makefile.modsign
0.979 KB
November 06 2023 09:15:52
0 / 0
0644
asn1_compiler
22.336 KB
December 07 2023 15:51:35
0 / 0
0755
asn1_compiler.c
33.967 KB
November 06 2023 09:15:52
0 / 0
0644
bloat-o-meter
1.755 KB
November 06 2023 09:15:52
0 / 0
0755
bootgraph.pl
5.62 KB
November 06 2023 09:15:52
0 / 0
0644
checkincludes.pl
1.773 KB
November 06 2023 09:15:52
0 / 0
0755
checkkconfigsymbols.sh
1.82 KB
November 06 2023 09:15:52
0 / 0
0755
checkpatch.pl
101.344 KB
November 06 2023 09:15:52
0 / 0
0755
checkstack.pl
5.335 KB
November 06 2023 09:15:52
0 / 0
0755
checksyscalls.sh
5.637 KB
November 06 2023 09:15:52
0 / 0
0755
checkversion.pl
1.859 KB
November 06 2023 09:15:52
0 / 0
0755
cleanfile
3.41 KB
November 06 2023 09:15:52
0 / 0
0755
cleanpatch
5.012 KB
November 06 2023 09:15:52
0 / 0
0755
coccicheck
3.775 KB
November 06 2023 09:15:52
0 / 0
0755
config
3.646 KB
November 06 2023 09:15:52
0 / 0
0755
conmakehash
10.164 KB
December 07 2023 15:51:35
0 / 0
0755
conmakehash.c
5.998 KB
November 06 2023 09:15:52
0 / 0
0644
decodecode
2.149 KB
November 06 2023 09:15:52
0 / 0
0755
depmod.sh
1.668 KB
November 06 2023 09:15:52
0 / 0
0755
diffconfig
3.541 KB
November 06 2023 09:15:52
0 / 0
0755
docproc.c
13.694 KB
November 06 2023 09:15:52
0 / 0
0644
export_report.pl
4.534 KB
November 06 2023 09:15:52
0 / 0
0644
extract-ikconfig
1.645 KB
November 06 2023 09:15:52
0 / 0
0755
extract-vmlinux
1.599 KB
November 06 2023 09:15:52
0 / 0
0755
gcc-goto.sh
0.454 KB
November 06 2023 09:15:52
0 / 0
0644
gcc-version.sh
0.803 KB
November 06 2023 09:15:52
0 / 0
0644
gcc-x86_32-has-stack-protector.sh
0.18 KB
November 06 2023 09:15:52
0 / 0
0644
gcc-x86_64-has-stack-protector.sh
0.195 KB
November 06 2023 09:15:52
0 / 0
0644
gen_initramfs_list.sh
7.382 KB
November 06 2023 09:15:52
0 / 0
0644
get_maintainer.pl
54.114 KB
November 06 2023 09:15:52
0 / 0
0755
gfp-translate
1.711 KB
November 06 2023 09:15:52
0 / 0
0755
headerdep.pl
3.465 KB
November 06 2023 09:15:52
0 / 0
0755
headers.sh
0.518 KB
November 06 2023 09:15:52
0 / 0
0755
headers_check.pl
3.6 KB
November 06 2023 09:15:52
0 / 0
0644
headers_install.sh
1.279 KB
November 06 2023 09:15:52
0 / 0
0644
kallsyms
14.43 KB
December 07 2023 15:51:35
0 / 0
0755
kallsyms.c
16.522 KB
November 06 2023 09:15:52
0 / 0
0644
kernel-doc
71.414 KB
November 06 2023 09:15:52
0 / 0
0755
link-vmlinux.sh
5.648 KB
November 06 2023 09:15:52
0 / 0
0644
makelst
0.755 KB
November 06 2023 09:15:52
0 / 0
0755
markup_oops.pl
8.08 KB
November 06 2023 09:15:52
0 / 0
0644
mkcompile_h
2.461 KB
November 06 2023 09:15:52
0 / 0
0755
mkmakefile
1.167 KB
November 06 2023 09:15:52
0 / 0
0644
mksysmap
1.319 KB
November 06 2023 09:15:52
0 / 0
0644
mkuboot.sh
0.37 KB
November 06 2023 09:15:52
0 / 0
0755
mkversion
0.072 KB
November 06 2023 09:15:52
0 / 0
0644
module-common.lds
0.739 KB
November 06 2023 09:15:52
0 / 0
0644
modules.order
0 KB
December 07 2023 15:40:23
0 / 0
0644
namespace.pl
13.001 KB
November 06 2023 09:15:52
0 / 0
0755
patch-kernel
9.914 KB
November 06 2023 09:15:52
0 / 0
0755
pnmtologo
14.188 KB
December 07 2023 15:51:35
0 / 0
0755
pnmtologo.c
11.912 KB
November 06 2023 09:15:52
0 / 0
0644
profile2linkerlist.pl
0.366 KB
November 06 2023 09:15:52
0 / 0
0644
recordmcount
18.281 KB
December 07 2023 15:51:35
0 / 0
0755
recordmcount.c
12.398 KB
November 06 2023 09:15:52
0 / 0
0644
recordmcount.h
16.339 KB
November 06 2023 09:15:52
0 / 0
0644
recordmcount.pl
17.568 KB
November 06 2023 09:15:52
0 / 0
0755
setlocalversion
3.938 KB
November 06 2023 09:15:52
0 / 0
0755
show_delta
2.981 KB
November 06 2023 09:15:52
0 / 0
0755
sign-file
12.164 KB
November 06 2023 09:15:52
0 / 0
0755
sortextable
14.188 KB
December 07 2023 15:51:35
0 / 0
0755
sortextable.c
7.412 KB
November 06 2023 09:15:52
0 / 0
0644
sortextable.h
5.479 KB
November 06 2023 09:15:52
0 / 0
0644
tags.sh
9.87 KB
November 06 2023 09:15:52
0 / 0
0755
unifdef
26.336 KB
December 07 2023 15:51:35
0 / 0
0755
unifdef.c
34.804 KB
November 06 2023 09:15:52
0 / 0
0644
ver_linux
3.091 KB
November 06 2023 09:15:52
0 / 0
0755
xz_wrap.sh
0.549 KB
November 06 2023 09:15:52
0 / 0
0644