From 2c2b10b3729bd3a42cba614e61f3fc78f37e3cb4 Mon Sep 17 00:00:00 2001 From: anotherwon Date: Fri, 2 Jun 2023 06:01:39 +0200 Subject: [PATCH] Fix out-of-tree builds --- board/pine64/ox64/post-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/pine64/ox64/post-build.sh b/board/pine64/ox64/post-build.sh index 04de884..84dda32 100755 --- a/board/pine64/ox64/post-build.sh +++ b/board/pine64/ox64/post-build.sh @@ -1,4 +1,5 @@ #!/bin/sh +SOURCE_DIR="$PWD" echo "Compressing UBoot Image" lz4 -9 -f $BINARIES_DIR/u-boot.bin $BINARIES_DIR/u-boot.bin.lz4 cd $BINARIES_DIR @@ -13,5 +14,5 @@ cp $BR2_EXTERNAL_BOUFFALO_BR_PATH/board/pine64/ox64/*.cmd $TARGET_DIR/boot/ mkdir -p $BINARIES_DIR/extlinux/ cp $TARGET_DIR/boot/extlinux/* $BINARIES_DIR/extlinux/ echo "Creating Filesystem Image" -$BASE_DIR/../support/scripts/genimage.sh -c $BR2_EXTERNAL_BOUFFALO_BR_PATH/board/pine64/ox64/genimage.cfg +$SOURCE_DIR/support/scripts/genimage.sh -c $BR2_EXTERNAL_BOUFFALO_BR_PATH/board/pine64/ox64/genimage.cfg echo "Completed - Images are at $BINARIES_DIR"