aboutsummaryrefslogtreecommitdiff
path: root/configs/orangepi_zero_defconfig
diff options
context:
space:
mode:
authorGravatar Sergey Matyukevich <geomatsi@gmail.com>2018-01-07 23:11:30 +0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-01-07 21:37:20 +0100
commita0eecad1954485225d99d1999a860d20c4c50ecf (patch)
treec915c41f71d0801a58b166357c19b81f09be9ccf /configs/orangepi_zero_defconfig
parent37e7121cae83783aa4a2f1977910f71cacc0eea5 (diff)
downloadbuildroot-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 'configs/orangepi_zero_defconfig')
-rw-r--r--configs/orangepi_zero_defconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig
index 142b648fa8..5d4ec14e28 100644
--- a/configs/orangepi_zero_defconfig
+++ b/configs/orangepi_zero_defconfig
@@ -6,8 +6,6 @@ BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Zero"
BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Zero"
-BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/orangepi-zero/post-build.sh"
-BR2_ROOTFS_POST_IMAGE_SCRIPT="board/orangepi/orangepi-zero/post-image.sh"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.11"
@@ -26,10 +24,14 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero"
BR2_TARGET_UBOOT_NEEDS_DTC=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin"
+BR2_TARGET_UBOOT_BOOT_SCRIPT=y
+BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero/boot.cmd"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-zero/genimage.cfg"
# wireless driver and firmware
BR2_PACKAGE_XR819_XRADIO=y