aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Carlos Santos <unixmania@gmail.com>2019-10-12 21:22:31 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-10-27 12:22:14 +0100
commit3f5c0880c42c515f73672a85fe401cf4f867d05c (patch)
tree96e6dfbc550b13ca032c620c82f89c31c05de93c /board
parentee47fea5781ab0ee1fa2d95a75ac020a2b38676b (diff)
downloadbuildroot-3f5c0880c42c515f73672a85fe401cf4f867d05c.tar.gz
buildroot-3f5c0880c42c515f73672a85fe401cf4f867d05c.tar.bz2
configs/roseapplepi: drop custom post-image script
Use support/scripts/genimage.sh, instead, which prevents duplicating TARGET_DIR under ${BUILD_DIR}/genimage.tmp/root. Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board')
-rwxr-xr-xboard/roseapplepi/post-build.sh4
-rwxr-xr-xboard/roseapplepi/post-image.sh18
2 files changed, 4 insertions, 18 deletions
diff --git a/board/roseapplepi/post-build.sh b/board/roseapplepi/post-build.sh
new file mode 100755
index 0000000000..ffdd19138c
--- /dev/null
+++ b/board/roseapplepi/post-build.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+BOARD_DIR="$(dirname $0)"
+
+cp $BOARD_DIR/uEnv.txt $BINARIES_DIR/uEnv.txt
diff --git a/board/roseapplepi/post-image.sh b/board/roseapplepi/post-image.sh
deleted file mode 100755
index e8f2df23f3..0000000000
--- a/board/roseapplepi/post-image.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-BOARD_DIR="$(dirname $0)"
-GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
-GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
-
-rm -rf "${GENIMAGE_TMP}"
-
-cp "${BOARD_DIR}/uEnv.txt" "${BINARIES_DIR}"
-
-genimage \
- --rootpath "${TARGET_DIR}" \
- --tmppath "${GENIMAGE_TMP}" \
- --inputpath "${BINARIES_DIR}" \
- --outputpath "${BINARIES_DIR}" \
- --config "${GENIMAGE_CFG}"
-
-exit $?