summaryrefslogtreecommitdiff
path: root/ct-ng.in
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 /ct-ng.in
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 'ct-ng.in')
-rw-r--r--ct-ng.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ct-ng.in b/ct-ng.in
index 036f534..6450aab 100644
--- a/ct-ng.in
+++ b/ct-ng.in
@@ -151,7 +151,7 @@ build: .config.2
$(SILENT)$(CT_LIB_DIR)/scripts/crosstool-NG.sh
build.%:
- $(SILENT)$(MAKE) -rf $(CT_NG) $(shell echo "$(@)" |$(sed) -r -e 's|^([^.]+)\.([[:digit:]]+)$$|\1 CT_JOBS=\2|;')
+ $(SILENT)$(MAKE) -rf $(CT_NG) build CT_JOBS=$*
PHONY += version
version: