aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Viktar Palstsiuk <viktar.palstsiuk@promwad.com>2019-11-27 09:36:46 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-12-03 08:13:36 +0100
commite3e31ad84b3e5b3f923303126bca854626c36919 (patch)
tree8bcc48bc2e389e0148e05ac8d3d84cf7a9083e27 /board
parent5e321ccf07ca0cd1388f1f78e2cf8d7054c4279f (diff)
downloadbuildroot-e3e31ad84b3e5b3f923303126bca854626c36919.tar.gz
buildroot-e3e31ad84b3e5b3f923303126bca854626c36919.tar.bz2
configs/nanopi_neo: remove custom post-build/post-image script
Instead use the generic infrastructure for u-boot scripts and genimage. Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rwxr-xr-xboard/friendlyarm/nanopi-neo/post-build.sh12
-rwxr-xr-xboard/friendlyarm/nanopi-neo/post-image.sh15
2 files changed, 0 insertions, 27 deletions
diff --git a/board/friendlyarm/nanopi-neo/post-build.sh b/board/friendlyarm/nanopi-neo/post-build.sh
deleted file mode 100755
index 9759efb568..0000000000
--- a/board/friendlyarm/nanopi-neo/post-build.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-# post-build.sh for Nanopi NEO, based on the Orange Pi PC
-# 2013, Carlo Caione <carlo.caione@gmail.com>
-# 2016, "Yann E. MORIN" <yann.morin.1998@free.fr>
-
-BOARD_DIR="$( dirname "${0}" )"
-MKIMAGE="${HOST_DIR}/bin/mkimage"
-BOOT_CMD="${BOARD_DIR}/boot.cmd"
-BOOT_CMD_H="${BINARIES_DIR}/boot.scr"
-
-# U-Boot script
-"${MKIMAGE}" -C none -A arm -T script -d "${BOOT_CMD}" "${BOOT_CMD_H}"
diff --git a/board/friendlyarm/nanopi-neo/post-image.sh b/board/friendlyarm/nanopi-neo/post-image.sh
deleted file mode 100755
index 740386ef82..0000000000
--- a/board/friendlyarm/nanopi-neo/post-image.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# post-image.sh for Nanopi NEO, based on the Orange Pi PC
-
-BOARD_DIR="$( dirname "${0}" )"
-GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg"
-GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"
-
-rm -rf "${GENIMAGE_TMP}"
-
-genimage \
- --rootpath "${TARGET_DIR}" \
- --tmppath "${GENIMAGE_TMP}" \
- --inputpath "${BINARIES_DIR}" \
- --outputpath "${BINARIES_DIR}" \
- --config "${GENIMAGE_CFG}"