Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/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 test -d $(O) || echo $(O)),$(error O=$(O) does not exist),)
5 ABSOLUTE_O := $(shell cd $(O) ; pwd)
16 OUTDIR := $(shell cd $(OUTPUT) && pwd)
43 CC_NO_CLANG := $(shell $(CC) -dM -E -x c /dev/null | grep -Fq "__clang__"; echo $$?)
/Linux-v4.19/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-v4.19/tools/build/
DMakefile.feature5 $(shell mkdir -p $(OUTPUT_FEATURES))
10 …feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CFLAGS="$(EXTRA_CFLAGS) $(FEATURE_CHECK_…
163 MSG = $(shell printf '...%30s: [ \033[32mon\033[m ]' $(1))
165 MSG = $(shell printf '...%30s: [ \033[31mOFF\033[m ]' $(1))
171 MSG = $(shell printf '...%30s: %s' $(1) $(2))
181 FEATURE_DUMP := $(shell touch $(FEATURE_DUMP_FILENAME); cat $(FEATURE_DUMP_FILENAME))
208 $(shell rm -f $(FEATURE_DUMP_FILENAME))
209 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI…
/Linux-v4.19/tools/build/feature/
DMakefile81 …Y_SOURCE=2 -ldw -lelf -lnuma -lelf -laudit -I/usr/include/slang -lslang $(shell $(PKG_CONFIG) --li…
179 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null)
182 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null)
187 PERL_EMBED_LDOPTS = $(shell perl -MExtUtils::Embed -e ldopts 2>/dev/null)
264 -I$(shell $(LLVM_CONFIG) --includedir) \
265 -L$(shell $(LLVM_CONFIG) --libdir) \
266 $(shell $(LLVM_CONFIG) --libs Core BPF) \
267 $(shell $(LLVM_CONFIG) --system-libs) \
272 -I$(shell $(LLVM_CONFIG) --includedir) \
277 -I$(shell $(LLVM_CONFIG) --includedir) \
[all …]
/Linux-v4.19/scripts/kconfig/
DMakefile177 HOSTLDLIBS_nconf = $(shell . $(obj)/.nconf-cfg && echo $$libs)
178 HOSTCFLAGS_nconf.o = $(shell . $(obj)/.nconf-cfg && echo $$cflags)
179 HOSTCFLAGS_nconf.gui.o = $(shell . $(obj)/.nconf-cfg && echo $$cflags)
188 HOSTLDLIBS_mconf = $(shell . $(obj)/.mconf-cfg && echo $$libs)
190 $(eval HOSTCFLAGS_$f = $$(shell . $(obj)/.mconf-cfg && echo $$$$cflags)))
200 HOSTLDLIBS_qconf = $(shell . $(obj)/.qconf-cfg && echo $$libs)
201 HOSTCXXFLAGS_qconf.o = $(shell . $(obj)/.qconf-cfg && echo $$cflags)
206 cmd_moc = $(shell . $(obj)/.qconf-cfg && echo $$moc) -i $< -o $@
215 HOSTLDLIBS_gconf = $(shell . $(obj)/.gconf-cfg && echo $$libs)
216 HOSTCFLAGS_gconf.o = $(shell . $(obj)/.gconf-cfg && echo $$cflags)
/Linux-v4.19/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-v4.19/tools/power/cpupower/
DMakefile29 OUTDIR := $(shell cd $(OUTPUT) && pwd)
67 VERSION= $(shell ./utils/version-gen.sh)
117 GMO_FILES = ${shell for HLANG in ${LANGUAGES}; do echo $(OUTPUT)po/$$HLANG.gmo; done;}
122 cc-supports = ${shell if $(CC) ${1} -S -o /dev/null -x c /dev/null > /dev/null 2>&1; then echo "$(1…
/Linux-v4.19/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-v4.19/tools/testing/selftests/bpf/
DMakefile87 PROBE := $(shell $(LLC) -march=bpf -mcpu=probe -filetype=null /dev/null 2>&1)
103 CLANG_SYS_INCLUDES := $(shell $(CLANG) -v -E - </dev/null 2>&1 \
113 BTF_LLC_PROBE := $(shell $(LLC) -march=bpf -mattr=help 2>&1 | grep dwarfris)
114 BTF_PAHOLE_PROBE := $(shell $(BTF_PAHOLE) --help 2>&1 | grep BTF)
115 BTF_OBJCOPY_PROBE := $(shell $(LLVM_OBJCOPY) --help 2>&1 | grep -i 'usage.*llvm')
/Linux-v4.19/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-v4.19/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-v4.19/Documentation/kbuild/
Dkconfig-macro-language.txt34 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC))
103 - $(shell,command)
105 The "shell" function accepts a single argument that is expanded and passed
177 For example, $(shell echo hello, world) runs the command "echo hello, world".
184 $(shell, echo hello, world)
186 is an error because it is passing two parameters where the 'shell' function
190 $(shell, echo hello$(comma) world)
224 Obviously from the design, $(shell command) is expanded in the textual
225 substitution phase. You cannot pass symbols to the 'shell' function.
234 def_bool $(shell $(srctree)/scripts/gcc-check-flag ENDIAN_FLAG)
[all …]
/Linux-v4.19/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-v4.19/tools/usb/ffs-aio-example/simple/host_app/
DMakefile2 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
3 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
/Linux-v4.19/samples/bpf/
Dtcp_bpf.readme3 a cgroupv2 and attach a bash shell to the group.
11 Anything that runs under this shell belongs to the foo cgroupv2 To load
21 cgroupv2 to which the BPF programs are attached (i.e. under bash shell
/Linux-v4.19/samples/timers/
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-v4.19/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-v4.19/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-v4.19/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/)
/Linux-v4.19/tools/testing/selftests/prctl/
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-v4.19/tools/testing/selftests/exec/
DMakefile20 cd $(OUTPUT) && ln -s -f $(shell basename $<) $(shell basename $@)
/Linux-v4.19/tools/power/cpupower/debug/kernel/
DMakefile4 KDIR := /lib/modules/$(shell uname -r)/build
5 KMISC := /lib/modules/$(shell uname -r)/cpufrequtils/
/Linux-v4.19/tools/testing/selftests/memfd/
DMakefile11 fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
15 $(OUTPUT)/fuse_mnt: LDLIBS += $(shell pkg-config fuse --libs)
/Linux-v4.19/samples/mic/mpssd/
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/)

12345678