From 725d651f96116979b936edfaa3ebbdbddefb931d Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Wed, 19 Jun 2024 10:31:57 +0100 Subject: [PATCH] buildroot: Apply patch inside buildroot directory --- embedded/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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