diff --git a/embedded/build.sh b/embedded/build.sh index a2ed747..7f9ca8e 100755 --- a/embedded/build.sh +++ b/embedded/build.sh @@ -7,7 +7,7 @@ BUILDROOT_TAR=buildroot-2024.02.3.tar.gz if [ ! -e "${BUILDROOT}" ]; then tar xvf "${BUILDROOT_TAR}" - patch -p0 < buildroot-mesa3d.patch + pushd ${BUILDROOT} && patch -p0 < buildroot-mesa3d.patch && popd fi if [ ! -e "${BUILDROOT}/.config" ]; then