diff options
author | Thomas Abraham <thomas.abraham@arm.com> | 2019-03-14 14:10:38 +0530 |
---|---|---|
committer | Thomas Abraham <thomas.abraham@arm.com> | 2019-09-24 10:45:43 +0530 |
commit | 704f5b64390e3dc42d10ce8c712d370de29c5cf7 (patch) | |
tree | 379fcb431b87ba272ea0e12faeb646f7295a3125 | |
parent | d3be5eeb171a0c3ff76d298088fe315bbdfe445e (diff) |
build-linux: fix incorrect check for module build configuration
Fix a syntax error related to checking of kernel module build
configuration parameter.
Change-Id: Ib637a07bcf18df9013fe72268340fe25b5d2e432
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
-rwxr-xr-x | build-linux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-linux.sh b/build-linux.sh index db0c2d3..ef37f96 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -86,7 +86,7 @@ do_build () lconfig=LINUX_$name[defconfig]; make O=$LINUX_OUT_DIR/$name ${!lconfig} make O=$LINUX_OUT_DIR/$name -j$PARALLELISM $LINUX_IMAGE_TYPE dtbs - if [ ${!lmodules} == "true" ]; then + if [ "${!lmodules}" == "true" ]; then make O=$LINUX_OUT_DIR/$name/modules ${!lconfig} make O=$LINUX_OUT_DIR/$name/modules -j$PARALLELISM modules fi |