Skip to content

Commit

Permalink
build.sh: add bitbake device-tree exception handling
Browse files Browse the repository at this point in the history
Signed-off-by: Teoh Ji Sheng <ji.sheng.teoh@intel.com>
  • Loading branch information
jishengt committed Mar 30, 2023
1 parent 4991785 commit 6135594
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sh
Expand Up @@ -192,8 +192,10 @@ bitbake_image() {
bitbake u-boot-socfpga -c cleanall
echo -e "\n[INFO] Clean up previous ghrd build if any"
bitbake hw-ref-design -c cleanall
echo -e "\n[INFO] Clean up previous dtb build if any"
bitbake device-tree -c cleanall
if [[ "$MACHINE" == *"agilex"* || "$MACHINE" == "stratix10" ]]; then
echo -e "\n[INFO] Clean up previous dtb build if any"
bitbake device-tree -c cleanall
fi

echo -e "\n[INFO] Start bitbake process for target config.."
bitbake console-image-minimal gsrd-console-image 2>&1
Expand Down

0 comments on commit 6135594

Please sign in to comment.