diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2017-01-04 22:19:27 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-01-05 11:09:14 +0100 |
commit | 4eb0fd8283940db6a92bbba47b12a236f6adee62 (patch) | |
tree | 5e4b7613f46b6d931b225a4b9d13739e23f3ecb0 /target/linux/sunxi/image/gen_sunxi_sdcard_img.sh | |
parent | 6268d496a4fea91a475dbbea24281622293d122a (diff) | |
download | mtk-20170518-4eb0fd8283940db6a92bbba47b12a236f6adee62.zip mtk-20170518-4eb0fd8283940db6a92bbba47b12a236f6adee62.tar.gz mtk-20170518-4eb0fd8283940db6a92bbba47b12a236f6adee62.tar.bz2 |
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-x | target/linux/sunxi/image/gen_sunxi_sdcard_img.sh | 3 |
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 2a09306..bb89e3a 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 |