diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2021-01-18 11:07:32 +0200 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2021-01-18 11:07:32 +0200 |
commit | 0c1001fe2d54da229f023a3d81cc4a4f3681b877 (patch) | |
tree | 03a617c42bdb8266f5903f5584775a1a505912cb | |
parent | d7118ae04d2b97d210313e7022d4452eab206b53 (diff) |
fix bash error !d -> ! d
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
-rwxr-xr-x | build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -34,7 +34,7 @@ build -p $ACTIVE_PLATFORM -b RELEASE -a AARCH64 -t GCC5 -n `nproc` -D DO_X86EMU= cp Build/MmStandaloneRpmb/RELEASE_GCC5/FV/BL32_AP_MM.fd optee_os # Build OP-TEE for the devkit -if [ !-d 'optee_os/out/arm-plat-vexpress/export-ta_arm64' ]; then +if [ ! -d 'optee_os/out/arm-plat-vexpress/export-ta_arm64' ]; then pushd optee_os export ARCH=arm CROSS_COMPILE32=arm-linux-gnueabihf- make -j32 CFG_ARM64_core=y \ @@ -78,7 +78,9 @@ export CROSS_COMPILE=aarch64-linux-gnu- export ARCH=arm64 pushd u-boot -patch -p1 < ../patches/0002-rpmb-emulation-hack.-Breaks-proper-hardware-support.patch +for i in `ls ../patches`; do +patch -p1 < $i +done cp ../qemu_tfa_mm_defconfig configs make qemu_tfa_mm_defconfig make -j$(nproc) |