From: Adrian Schmutzler Date: Sun, 9 Aug 2020 21:59:20 +0000 (+0200) Subject: Revert "build: fix typo in cmake patch" X-Git-Tag: v21.02.0-rc1~1942 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c25c9e98f59357df9e92396aba44220d840dba7d;p=openwrt%2Fopenwrt.git Revert "build: fix typo in cmake patch" This reverts commit 685570858dc6b19329594c6efd2c20f1898976f9. The commit had several formal flaws, revert it and hopefully apply it properly next time. Signed-off-by: Adrian Schmutzler --- diff --git a/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch b/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch index 45ad885953..7b6198b14b 100644 --- a/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch +++ b/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch @@ -5,7 +5,7 @@ cmake_original_make_flags="${cmake_make_flags}" if [ "x${cmake_parallel_make}" != "x" ]; then - cmake_make_flags="${cmake_make_flags} -j ${cmake_parallel_make}" -+ case "$cmake_parallel_make" in ++ case "$cmake_paralle_make" in + [0-9]*) cmake_parallel_make="-j ${cmake_parallel_make}";; + esac + cmake_make_flags="${cmake_make_flags} ${cmake_parallel_make}"