pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

qemu-nvmm: Add missing patch file.



Module Name:	pkgsrc-wip
Committed By:	Hauke Fath <hauke%NetBSD.org@localhost>
Pushed By:	hauke
Date:		Tue Oct 22 15:12:55 2019 +0200
Changeset:	69cc68ce4bea01c3c1783029442e2ac676430e32

Added Files:
	qemu-nvmm/patches/patch-roms_u-boot_tools_imx8m__image.sh

Log Message:
qemu-nvmm: Add missing patch file.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=69cc68ce4bea01c3c1783029442e2ac676430e32

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 .../patch-roms_u-boot_tools_imx8m__image.sh        | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diffs:
diff --git a/qemu-nvmm/patches/patch-roms_u-boot_tools_imx8m__image.sh b/qemu-nvmm/patches/patch-roms_u-boot_tools_imx8m__image.sh
new file mode 100644
index 0000000000..177dfaf2e8
--- /dev/null
+++ b/qemu-nvmm/patches/patch-roms_u-boot_tools_imx8m__image.sh
@@ -0,0 +1,24 @@
+$NetBSD: patch-roms_u-boot_tools_imx8m__image.sh,v 1.1 2019/04/24 13:59:32 ryoon Exp $
+
+* Improve POSIX shell portability
+
+--- roms/u-boot/tools/imx8m_image.sh.orig	2019-04-23 18:16:46.000000000 +0000
++++ roms/u-boot/tools/imx8m_image.sh
+@@ -12,7 +12,7 @@ blobs=`awk '/^SIGNED_HDMI/ {print $2} /^
+ for f in $blobs; do
+ 	tmp=$srctree/$f
+ 
+-	if [ $f == "spl/u-boot-spl-ddr.bin" ] || [ $f == "u-boot.itb" ]; then
++	if [ $f = "spl/u-boot-spl-ddr.bin" ] || [ $f = "u-boot.itb" ]; then
+ 		continue
+ 	fi
+ 
+@@ -28,7 +28,7 @@ for f in $blobs; do
+ 	sed -in "s;$f;$tmp;" $file
+ done
+ 
+-if [ $post_process == 1 ]; then
++if [ $post_process = 1 ]; then
+ 	if [ -f $srctree/lpddr4_pmu_train_1d_imem.bin ]; then
+ 		objcopy -I binary -O binary --pad-to 0x8000 --gap-fill=0x0 $srctree/lpddr4_pmu_train_1d_imem.bin lpddr4_pmu_train_1d_imem_pad.bin
+ 		objcopy -I binary -O binary --pad-to 0x4000 --gap-fill=0x0 $srctree/lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_1d_dmem_pad.bin


Home | Main Index | Thread Index | Old Index