# PYNQ2.7 Custom Board Build Error - PYNQ\_SDIST

**URL:** <https://discuss.pynq.io/t/pynq2-7-custom-board-build-error-pynq-sdist/5150>\
**Category:** Support\
**Created:** [January 26, 2023, 5:40pm UTC](https://discuss.pynq.io/t/pynq2-7-custom-board-build-error-pynq-sdist/5150 "2023-01-26T17:40:54Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![briansune](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/briansune/32/3087_2.png) [@briansune](https://discuss.pynq.io/u/briansune)\
**Post date:** [January 27, 2023, 7:19pm UTC](https://discuss.pynq.io/t/pynq2-7-custom-board-build-error-pynq-sdist/5150/6 "2023-01-27T19:19:14Z")

</div>

@osama-usuf

The guide is referring A | B NOT A & B.  
While the board you are using is custom so modulator also have no obligation to make it able to build.  
While I had compile xc7z100 custom board successfully (MANY TIMES).  
Using make Prebuilt=XXXX BOARDS=XXXX

Build guide 2.7 & 3.0:

> [@Stuck at extract yocoto](https://discuss.pynq.io/t/stuck-at-extract-yocoto/4134/8):
>
> Unless people having hard time on setting up the environment: Vagrant is not a good method to setup the SD build environment. I have not investigate to the bottom but what previous engineer shows there might Virtual R/W issue during such setup. STEPS: I will suggest download 18.04.06 LTS Ubuntu from official website Create a virtual disk size about 200GB or more, set the CPU \>#4, RAM \>#8192 Update Ubuntu packages before setting up the PYNQ 3b) Git clone the PYNQ to /home//PYNQ 3c) sudo ch…

> [@PYNQ 3.0.1 VirtualBox install and SD build](https://discuss.pynq.io/t/pynq-3-0-1-virtualbox-install-and-sd-build/4859):
>
> Thank you PYNQ development team to releasing new 3.0.1 PYNQ. In this custom board build guide the PetaLinux, Vivado, Vitis are using version 2022.1 aka kernel 5.15. The NEW build environment setup script solved most issue when PYNQ 2.7 environment faced but there are still some issue need to take care. Let’s recall the old PYNQ 2.7 install guide: It is good to know the installation of PetaLinux and the environment setup script are almost the same as the attached PYNQ 2.7 install guide on Virt…

@stf  
Could help a bit a better explanation about the TWO make command.

Thank you

---

_[View the full topic](https://discuss.pynq.io/t/pynq2-7-custom-board-build-error-pynq-sdist/5150)._
