aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2017-01-04 22:19:27 +0800
committerFelix Fietkau <nbd@nbd.name>2017-01-05 11:09:14 +0100
commit4eb0fd8283940db6a92bbba47b12a236f6adee62 (patch)
tree5e4b7613f46b6d931b225a4b9d13739e23f3ecb0 /target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
parent6268d496a4fea91a475dbbea24281622293d122a (diff)
downloadupstream-4eb0fd8283940db6a92bbba47b12a236f6adee62.tar.gz
upstream-4eb0fd8283940db6a92bbba47b12a236f6adee62.tar.bz2
upstream-4eb0fd8283940db6a92bbba47b12a236f6adee62.zip
sunxi: convert to new image generation method
The new Device/xxx were transformed automatically from old profiles. Most device names are now taken from basename of the corresponding kernel device tree file. Device/sun5i-a13-olimex-som is an exception because it is not explicitly supported in the kernel yet and shares the same dts file with Device/sun5i-a13-olinuxino Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'target/linux/sunxi/image/gen_sunxi_sdcard_img.sh')
-rwxr-xr-xtarget/linux/sunxi/image/gen_sunxi_sdcard_img.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/sunxi/image/gen_sunxi_sdcard_img.sh b/target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
index 2a09306af6..bb89e3a0fc 100755
--- a/target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
+++ b/target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
@@ -1,5 +1,4 @@
#!/usr/bin/env bash
-
#
# Copyright (C) 2013 OpenWrt.org
#
@@ -7,7 +6,7 @@
# See /LICENSE for more information.
#
-set -x
+set -ex
[ $# -eq 6 ] || {
echo "SYNTAX: $0 <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size> <u-boot image>"
exit 1