functions: do not fail if not building pixel devices

Signed-off-by: steadfasterX <steadfasterX@users.noreply.github.com>
This commit is contained in:
steadfasterX 2024-02-14 17:33:08 +01:00 committed by Tavi
parent 25da5b3f74
commit fb8ee6e2eb
1 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ patchWorkspaceReal() {
#Deblobbing fixes
##setup-makefiles doesn't execute properly for some devices, running it twice seems to fix whatever is wrong
cd device/google/marlin/marlin && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
cd device/google/marlin/sailfish && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
[[ -d device/google/marlin/marlin ]] && cd device/google/marlin/marlin && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
[[ -d device/google/marlin/sailfish ]] && cd device/google/marlin/sailfish && ./setup-makefiles.sh && cd "$DOS_BUILD_BASE";
}
export -f patchWorkspaceReal;