diff options
author | 2018-01-07 23:11:30 +0300 | |
---|---|---|
committer | 2018-01-07 21:37:20 +0100 | |
commit | a0eecad1954485225d99d1999a860d20c4c50ecf (patch) | |
tree | c915c41f71d0801a58b166357c19b81f09be9ccf /board/orangepi | |
parent | 37e7121cae83783aa4a2f1977910f71cacc0eea5 (diff) | |
download | buildroot-a0eecad1954485225d99d1999a860d20c4c50ecf.tar.gz buildroot-a0eecad1954485225d99d1999a860d20c4c50ecf.tar.bz2 |
orangepi: drop custom post-build and post-image scripts
Currently in Orange Pi boards post-build script is used only to generate
U-Boot boot script and post-image script is used only to generate sdcard
image according to genimage configuration. However both those tasks can
now be handled by generic Buildroot tools:
- BR2_TARGET_UBOOT_BOOT_SCRIPT config options
- support/scripts/genimage.sh script
This patch drops custom scripts replacing them
by generic Buildroot tools.
Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/orangepi')
l--------- | board/orangepi/orangepi-lite/post-build.sh | 1 | ||||
l--------- | board/orangepi/orangepi-lite/post-image.sh | 1 | ||||
l--------- | board/orangepi/orangepi-one/post-build.sh | 1 | ||||
l--------- | board/orangepi/orangepi-one/post-image.sh | 1 | ||||
l--------- | board/orangepi/orangepi-pc-plus/post-build.sh | 1 | ||||
l--------- | board/orangepi/orangepi-pc-plus/post-image.sh | 1 | ||||
l--------- | board/orangepi/orangepi-pc/post-build.sh | 1 | ||||
l--------- | board/orangepi/orangepi-pc/post-image.sh | 1 | ||||
l--------- | board/orangepi/orangepi-zero/post-build.sh | 1 | ||||
l--------- | board/orangepi/orangepi-zero/post-image.sh | 1 | ||||
-rwxr-xr-x | board/orangepi/post-build.sh | 11 | ||||
-rwxr-xr-x | board/orangepi/post-image.sh | 14 |
12 files changed, 0 insertions, 35 deletions
diff --git a/board/orangepi/orangepi-lite/post-build.sh b/board/orangepi/orangepi-lite/post-build.sh deleted file mode 120000 index cd7f11645b..0000000000 --- a/board/orangepi/orangepi-lite/post-build.sh +++ /dev/null @@ -1 +0,0 @@ -../post-build.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-lite/post-image.sh b/board/orangepi/orangepi-lite/post-image.sh deleted file mode 120000 index ae6294fa38..0000000000 --- a/board/orangepi/orangepi-lite/post-image.sh +++ /dev/null @@ -1 +0,0 @@ -../post-image.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-one/post-build.sh b/board/orangepi/orangepi-one/post-build.sh deleted file mode 120000 index cd7f11645b..0000000000 --- a/board/orangepi/orangepi-one/post-build.sh +++ /dev/null @@ -1 +0,0 @@ -../post-build.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-one/post-image.sh b/board/orangepi/orangepi-one/post-image.sh deleted file mode 120000 index ae6294fa38..0000000000 --- a/board/orangepi/orangepi-one/post-image.sh +++ /dev/null @@ -1 +0,0 @@ -../post-image.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-pc-plus/post-build.sh b/board/orangepi/orangepi-pc-plus/post-build.sh deleted file mode 120000 index cd7f11645b..0000000000 --- a/board/orangepi/orangepi-pc-plus/post-build.sh +++ /dev/null @@ -1 +0,0 @@ -../post-build.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-pc-plus/post-image.sh b/board/orangepi/orangepi-pc-plus/post-image.sh deleted file mode 120000 index ae6294fa38..0000000000 --- a/board/orangepi/orangepi-pc-plus/post-image.sh +++ /dev/null @@ -1 +0,0 @@ -../post-image.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-pc/post-build.sh b/board/orangepi/orangepi-pc/post-build.sh deleted file mode 120000 index cd7f11645b..0000000000 --- a/board/orangepi/orangepi-pc/post-build.sh +++ /dev/null @@ -1 +0,0 @@ -../post-build.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-pc/post-image.sh b/board/orangepi/orangepi-pc/post-image.sh deleted file mode 120000 index ae6294fa38..0000000000 --- a/board/orangepi/orangepi-pc/post-image.sh +++ /dev/null @@ -1 +0,0 @@ -../post-image.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-zero/post-build.sh b/board/orangepi/orangepi-zero/post-build.sh deleted file mode 120000 index cd7f11645b..0000000000 --- a/board/orangepi/orangepi-zero/post-build.sh +++ /dev/null @@ -1 +0,0 @@ -../post-build.sh
\ No newline at end of file diff --git a/board/orangepi/orangepi-zero/post-image.sh b/board/orangepi/orangepi-zero/post-image.sh deleted file mode 120000 index ae6294fa38..0000000000 --- a/board/orangepi/orangepi-zero/post-image.sh +++ /dev/null @@ -1 +0,0 @@ -../post-image.sh
\ No newline at end of file diff --git a/board/orangepi/post-build.sh b/board/orangepi/post-build.sh deleted file mode 100755 index 07e04df4d5..0000000000 --- a/board/orangepi/post-build.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# post-build.sh for OrangePi taken from CubieBoard's post-build.sh -# 2013, Carlo Caione <carlo.caione@gmail.com> - -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/orangepi/post-image.sh b/board/orangepi/post-image.sh deleted file mode 100755 index 359b4c9e7c..0000000000 --- a/board/orangepi/post-image.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -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}" |