Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 231) sorted by relevance

12345678910

/Linux-v5.10/tools/scripts/
Dutilities.mak22 # GNU make's $(shell ...) function converts to a
42 # shell-escape-nl
44 # Usage: $(shell some-command | $(call shell-escape-nl[,escape]))
46 # Use this to escape newlines from within a shell call;
50 # in an `awk' program that is delimited by shell
54 define shell-escape-nl
58 # shell-unescape-nl
60 # Usage: $(shell some-command | $(call shell-unescape-nl[,escape]))
62 # Use this to unescape newlines from within a shell call;
67 # delimited by shell single-quotes, so be wary
[all …]
DMakefile.include4 dummy := $(if $(shell cd $(PWD); test -d $(O) || echo $(O)),$(error O=$(O) does not exist),)
5 ABSOLUTE_O := $(shell cd $(PWD); cd $(O) ; pwd)
16 OUTDIR := $(shell cd $(OUTPUT) && pwd)
42 CC_NO_CLANG := $(shell $(CC) -dM -E -x c /dev/null | grep -Fq "__clang__"; echo $$?)
/Linux-v5.10/drivers/staging/vt6655/
Dtest1 KSP := /lib/modules/$(shell uname -r)/build \
2 /usr/src/linux-$(shell uname -r) \
3 /usr/src/linux-$(shell uname -r | sed 's/-.*//') \
4 # /usr/src/kernel-headers-$(shell uname -r) \
5 # /usr/src/kernel-source-$(shell uname -r) \
6 # /usr/src/linux-$(shell uname -r | sed 's/\([0-9]*\.[0-9]*\)\..*/\1/') \
8 test_dir = $(shell [ -e $(dir)/include/linux ] && echo $(dir))
/Linux-v5.10/scripts/kconfig/
DMakefile164 HOSTLDLIBS_nconf = $(shell . $(obj)/nconf-cfg && echo $$libs)
165 HOSTCFLAGS_nconf.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
166 HOSTCFLAGS_nconf.gui.o = $(shell . $(obj)/nconf-cfg && echo $$cflags)
176 HOSTLDLIBS_mconf = $(shell . $(obj)/mconf-cfg && echo $$libs)
178 $(eval HOSTCFLAGS_$f = $$(shell . $(obj)/mconf-cfg && echo $$$$cflags)))
187 HOSTLDLIBS_qconf = $(shell . $(obj)/qconf-cfg && echo $$libs)
188 HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/qconf-cfg && echo $$cflags)
189 HOSTCXXFLAGS_qconf-moc.o = $(shell . $(obj)/qconf-cfg && echo $$cflags)
194 cmd_moc = $(shell . $(obj)/qconf-cfg && echo $$moc) $< -o $@
205 HOSTLDLIBS_gconf = $(shell . $(obj)/gconf-cfg && echo $$libs)
[all …]
/Linux-v5.10/arch/xtensa/
DMakefile25 COMPILE_ARCH = $(shell uname -m)
55 ifeq ($(shell echo __XTENSA_EB__ | $(CC) -E - | grep -v "\#"),1)
59 ifeq ($(shell echo __XTENSA_EL__ | $(CC) -E - | grep -v "\#"),1)
73 buildvar := $(shell test -e $(srctree)/arch/xtensa/variants/$(VARIANT)/Makefile && echo arch/xtensa…
74 buildplf := $(shell test -e $(srctree)/arch/xtensa/platforms/$(PLATFORM)/Makefile && echo arch/xten…
78 LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
/Linux-v5.10/tools/build/
DMakefile.feature6 $(shell mkdir -p $(OUTPUT_FEATURES))
11 …feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_…
177 MSG = $(shell printf '...%30s: [ \033[32mon\033[m ]' $(1))
179 MSG = $(shell printf '...%30s: [ \033[31mOFF\033[m ]' $(1))
185 MSG = $(shell printf '...%30s: %s' $(1) $(2))
195 FEATURE_DUMP := $(shell touch $(FEATURE_DUMP_FILENAME); cat $(FEATURE_DUMP_FILENAME))
222 $(shell rm -f $(FEATURE_DUMP_FILENAME))
223 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI…
/Linux-v5.10/tools/build/feature/
DMakefile203 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) -Wno-deprecated-declarations
206 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null)
211 PERL_EMBED_LDOPTS = $(shell perl -MExtUtils::Embed -e ldopts 2>/dev/null)
300 -I$(shell $(LLVM_CONFIG) --includedir) \
301 -L$(shell $(LLVM_CONFIG) --libdir) \
302 $(shell $(LLVM_CONFIG) --libs Core BPF) \
303 $(shell $(LLVM_CONFIG) --system-libs) \
308 -I$(shell $(LLVM_CONFIG) --includedir) \
313 -I$(shell $(LLVM_CONFIG) --includedir) \
314 -L$(shell $(LLVM_CONFIG) --libdir) \
[all …]
/Linux-v5.10/Documentation/admin-guide/aoe/
Dexamples.rst11 :language: shell
17 :language: shell
23 :language: shell
/Linux-v5.10/tools/testing/selftests/vm/
DMakefile3 uname_M := $(shell uname -m 2>/dev/null || echo not)
4 MACHINE ?= $(shell echo $(uname_M) | sed -e 's/aarch64.*/arm64/')
43 CAN_BUILD_I386 := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_32bit_program.c -m32)
44 CAN_BUILD_X86_64 := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_64bit_program.c)
45 CAN_BUILD_WITH_NOPIE := $(shell ./../x86/check_cc.sh $(CC) ../x86/trivial_program.c -no-pie)
/Linux-v5.10/tools/cgroup/
Diocost_coef_gen.py63 stdout=subprocess.PIPE, shell=True).stdout
80 subprocess.check_call(f'rm -f {path}', shell=True)
81 subprocess.check_call(f'touch {path}', shell=True)
82 subprocess.call(f'chattr +C {path}', shell=True)
87 shell=True)
101 subprocess.check_call(cmd, shell=True)
/Linux-v5.10/arch/parisc/
DMakefile36 ifeq ($(shell uname -m),parisc64)
67 CC_FLAGS_FTRACE := -fpatchable-function-entry=$(NOP_COUNT),$(shell echo $$(($(NOP_COUNT)-1)))
111 LIBGCC := $(shell $(CC) -print-libgcc-file-name)
123 PALO := $(shell if (which palo 2>&1); then : ; \
127 PALOCONF := $(shell if [ -f $(srctree)/palo.conf ]; then echo $(srctree)/palo.conf; \
/Linux-v5.10/scripts/dtc/
DMakefile14 ifeq ($(shell pkg-config --exists yaml-0.1 2>/dev/null && echo yes),)
23 HOSTCFLAGS_yamltree.o := $(shell pkg-config --cflags yaml-0.1)
25 HOSTLDLIBS_dtc := $(shell pkg-config yaml-0.1 --libs)
/Linux-v5.10/tools/testing/selftests/x86/
DMakefile8 UNAME_M := $(shell uname -m)
9 CAN_BUILD_I386 := $(shell ./check_cc.sh $(CC) trivial_32bit_program.c -m32)
10 CAN_BUILD_X86_64 := $(shell ./check_cc.sh $(CC) trivial_64bit_program.c)
11 CAN_BUILD_WITH_NOPIE := $(shell ./check_cc.sh $(CC) trivial_program.c -no-pie)
/Linux-v5.10/scripts/
DMakefile.headersinst29 src-headers := $(if $(src-subdirs), $(shell cd $(src) && find $(src-subdirs) -name '*.h'))
31 gen-headers := $(if $(gen-subdirs), $(shell cd $(gen) && find $(gen-subdirs) -name '*.h'))
49 old-headers := $(if $(old-subdirs),$(shell find $(old-subdirs) -name '*.h'))
56 $(if $(new-dirs), $(shell mkdir -p $(new-dirs)))
/Linux-v5.10/tools/power/cpupower/
DMakefile17 OUTDIR := $(shell cd $(OUTPUT) && pwd)
54 VERSION:= $(shell ./utils/version-gen.sh)
109 GMO_FILES = ${shell for HLANG in ${LANGUAGES}; do echo $(OUTPUT)po/$$HLANG.gmo; done;}
114 cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -x c /dev/null > /dev/null 2>&1; then echo "$(1…
/Linux-v5.10/Documentation/
DMakefile10 $(shell $(srctree)/scripts/documentation-file-ref-check --warn)
15 $(shell $(srctree)/scripts/get_abi.pl validate --dir $(srctree)/Documentation/ABI)
34 HAVE_SPHINX := $(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi)
47 HAVE_PDFLATEX := $(shell if which $(PDFLATEX) >/dev/null 2>&1; then echo 1; else echo 0; fi)
48 HAVE_LATEXMK := $(shell if which latexmk >/dev/null 2>&1; then echo 1; else echo 0; fi)
/Linux-v5.10/tools/testing/selftests/powerpc/
DMakefile5 ARCH ?= $(shell uname -m)
6 ARCH := $(shell echo $(ARCH) | sed -e s/ppc.*/powerpc/)
10 GIT_VERSION = $(shell git describe --always --long --dirty || echo "unknown")
/Linux-v5.10/Documentation/kbuild/
Dkconfig-macro-language.rst38 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC))
107 - $(shell,command)
109 The "shell" function accepts a single argument that is expanded and passed
181 For example, $(shell echo hello, world) runs the command "echo hello, world".
188 $(shell, echo hello, world)
190 is an error because it is passing two parameters where the 'shell' function
194 $(shell, echo hello$(comma) world)
228 Obviously from the design, $(shell command) is expanded in the textual
229 substitution phase. You cannot pass symbols to the 'shell' function.
239 def_bool $(shell $(srctree)/scripts/gcc-check-flag ENDIAN_FLAG)
[all …]
/Linux-v5.10/scripts/kconfig/tests/preprocess/builtin_func/
DKconfig17 # 'shell' executes a command, and returns its stdout.
18 $(warning,$(shell,echo hello world 3))
22 $(warning,$(shell,printf 'hello\nworld\n\n4\n\n\n'))
/Linux-v5.10/tools/usb/ffs-aio-example/multibuff/host_app/
DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/Linux-v5.10/tools/usb/ffs-aio-example/simple/host_app/
DMakefile3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/Linux-v5.10/tools/testing/selftests/kexec/
DMakefile4 uname_M := $(shell uname -m 2>/dev/null || echo not)
5 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
/Linux-v5.10/tools/testing/selftests/breakpoints/
DMakefile3 uname_M := $(shell uname -m 2>/dev/null || echo not)
4 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
/Linux-v5.10/tools/testing/selftests/intel_pstate/
DMakefile5 uname_M := $(shell uname -m 2>/dev/null || echo not)
6 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
/Linux-v5.10/tools/testing/selftests/ipc/
DMakefile2 uname_M := $(shell uname -m 2>/dev/null || echo not)
3 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)

12345678910