summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2015-10-30 17:32:16 (GMT)
committerAlexey Neyman <stilor@att.net>2015-10-30 17:32:16 (GMT)
commit263e8026eca666e09516764f6535da518f36fcb9 (patch)
treee33f4ce99f048e77616f6ae8ff3fbc8cd50cc6cd /samples
parent319023c7afc4a48593240db4afe58ac57c4cc4a6 (diff)
Change sed monstrosity into a make variable.
The convoluted sed expression was doing what is already available in make as `$*'. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'samples')
-rw-r--r--samples/samples.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/samples.mk b/samples/samples.mk
index e154e5c..4545d5c 100644
--- a/samples/samples.mk
+++ b/samples/samples.mk
@@ -204,5 +204,5 @@ build-all: $(patsubst %,build-%,$(CT_SAMPLES))
# Build all samples, overiding the number of // jobs per sample
build-all.%:
- $(SILENT)$(MAKE) -rf $(CT_NG) V=$(V) $(shell echo "$(@)" |$(sed) -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;')
+ $(SILENT)$(MAKE) -rf $(CT_NG) build-all CT_JOBS=$*