aboutsummaryrefslogtreecommitdiff
path: root/board/beaglebone
diff options
context:
space:
mode:
authorGravatar Carlos Santos <unixmania@gmail.com>2019-10-12 21:22:26 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-27 12:20:46 +0100
commit5570bf98502583da3961bc33731b8d8c0cf7d09b (patch)
treeb53066017a2511e95834f3549099eccfcf3fe83d /board/beaglebone
parent7f383ac3f0a737f49bb839908d3dd0e4208c27fe (diff)
downloadbuildroot-5570bf98502583da3961bc33731b8d8c0cf7d09b.tar.gz
buildroot-5570bf98502583da3961bc33731b8d8c0cf7d09b.tar.bz2
configs/beaglebone: don't use custom post-image script
Use support/scripts/genimage.sh, instead, which prevents duplicating TARGET_DIR under ${BUILD_DIR}/genimage.tmp/root. Use a post-build script to copy uEnv.txt to BINARIES_DIR, as made for beagleboneai. Keep the post-image script because it is still used by beaglebone_qt5. Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board/beaglebone')
-rwxr-xr-xboard/beaglebone/post-build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/beaglebone/post-build.sh b/board/beaglebone/post-build.sh
new file mode 100755
index 0000000000..ffdd19138c
--- /dev/null
+++ b/board/beaglebone/post-build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+BOARD_DIR="$(dirname $0)"
+
+cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt