Searched refs:shell (Results 1 – 25 of 81) sorted by relevance
1234
/tools/scripts/ |
D | utilities.mak | 22 # 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 …]
|
D | Makefile.arch | 2 HOSTARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ 36 LP64 := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)
|
D | Makefile.include | 4 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) 68 CC_NO_CLANG := $(shell $(CC) -dM -E -x c /dev/null | grep -Fq "__clang__"; echo $$?)
|
/tools/build/ |
D | Makefile.feature | 6 $(shell mkdir -p $(OUTPUT_FEATURES)) 11 …feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_… 176 MSG = $(shell printf '...%30s: [ \033[32mon\033[m ]' $(1)) 178 MSG = $(shell printf '...%30s: [ \033[31mOFF\033[m ]' $(1)) 184 MSG = $(shell printf '...%30s: %s' $(1) $(2)) 194 FEATURE_DUMP := $(shell touch $(FEATURE_DUMP_FILENAME); cat $(FEATURE_DUMP_FILENAME)) 221 $(shell rm -f $(FEATURE_DUMP_FILENAME)) 222 …$(foreach feat,$(FEATURE_TESTS),$(shell echo "$(call feature_assign,$(feat))" >> $(FEATURE_DUMP_FI…
|
/tools/usb/ffs-aio-example/simple/host_app/ |
D | Makefile | 3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) 4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
|
/tools/usb/ffs-aio-example/multibuff/host_app/ |
D | Makefile | 3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0) 4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
|
/tools/testing/selftests/kexec/ |
D | Makefile | 4 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/)
|
/tools/build/feature/ |
D | Makefile | 202 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) -Wno-deprecated-declarations 205 $(BUILD) $(shell $(PKG_CONFIG) --libs --cflags gtk+-2.0 2>/dev/null) 210 PERL_EMBED_LDOPTS = $(shell perl -MExtUtils::Embed -e ldopts 2>/dev/null) 213 PERL_EMBED_CCOPTS = $(shell perl -MExtUtils::Embed -e ccopts 2>/dev/null) 303 -I$(shell $(LLVM_CONFIG) --includedir) \ 304 -L$(shell $(LLVM_CONFIG) --libdir) \ 305 $(shell $(LLVM_CONFIG) --libs Core BPF) \ 306 $(shell $(LLVM_CONFIG) --system-libs) \ 311 -I$(shell $(LLVM_CONFIG) --includedir) \ 316 -I$(shell $(LLVM_CONFIG) --includedir) \ [all …]
|
/tools/testing/selftests/breakpoints/ |
D | Makefile | 3 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/)
|
/tools/testing/selftests/intel_pstate/ |
D | Makefile | 5 ARCH ?= $(shell uname -m 2>/dev/null || echo not) 6 ARCH_PROCESSED := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
|
/tools/testing/selftests/vm/ |
D | Makefile | 3 uname_M := $(shell uname -m 2>/dev/null || echo not) 4 MACHINE ?= $(shell echo $(uname_M) | sed -e 's/aarch64.*/arm64/' -e 's/ppc64.*/ppc64/') 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)
|
/tools/testing/selftests/ipc/ |
D | Makefile | 2 uname_M := $(shell uname -m 2>/dev/null || echo not) 3 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)
|
/tools/testing/selftests/prctl/ |
D | Makefile | 3 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/)
|
/tools/power/cpupower/debug/kernel/ |
D | Makefile | 4 KDIR := /lib/modules/$(shell uname -r)/build 5 KMISC := /lib/modules/$(shell uname -r)/cpufrequtils/
|
/tools/testing/selftests/powerpc/ |
D | Makefile | 5 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")
|
/tools/testing/selftests/x86/ |
D | Makefile | 8 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)
|
/tools/cgroup/ |
D | iocost_coef_gen.py | 63 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)
|
/tools/power/cpupower/ |
D | Makefile | 17 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…
|
/tools/testing/selftests/vDSO/ |
D | Makefile | 4 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/)
|
/tools/testing/selftests/memfd/ |
D | Makefile | 11 VAR_CFLAGS := $(shell pkg-config fuse --cflags 2>/dev/null) 16 VAR_LDLIBS := $(shell pkg-config fuse --libs 2>/dev/null)
|
/tools/testing/selftests/gpio/ |
D | Makefile | 3 VAR_CFLAGS := $(shell pkg-config --cflags mount 2>/dev/null) 4 VAR_LDLIBS := $(shell pkg-config --libs mount 2>/dev/null)
|
/tools/testing/selftests/tc-testing/ |
D | Makefile | 12 PROBE := $(shell $(LLC) -march=bpf -mcpu=probe -filetype=null /dev/null 2>&1) 20 CLANG_SYS_INCLUDES := $(shell $(CLANG) -v -E - </dev/null 2>&1 \
|
/tools/perf/pmu-events/ |
D | Build | 7 JSON = $(shell [ -d $(JDIR) ] && \ 10 JSON_TEST = $(shell [ -d $(JDIR_TEST) ] && \
|
/tools/objtool/ |
D | Makefile | 22 LIBELF_FLAGS := $(shell pkg-config libelf --cflags 2>/dev/null) 23 LIBELF_LIBS := $(shell pkg-config libelf --libs 2>/dev/null || echo -lelf) 36 elfshdr := $(shell echo '$(pound)include <libelf.h>' | $(CC) $(CFLAGS) -x c -E - | grep elf_getshdr)
|
/tools/testing/selftests/sparc64/ |
D | Makefile | 2 uname_M := $(shell uname -m 2>/dev/null || echo not) 3 ARCH ?= $(shell echo $(uname_M) | sed -e s/x86_64/x86/)
|
1234