From 263e8026eca666e09516764f6535da518f36fcb9 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 30 Oct 2015 10:32:16 -0700 Subject: 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 --- samples/samples.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples') diff --git a/samples/samples.mk b/samples/samples.mk index e154e5ca..4545d5c3 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=$* -- cgit v1.2.3