From 72b52fdf92dde72a6b7ad74355a00b2155a8b9c4 Mon Sep 17 00:00:00 2001 From: "Ithamar R. Adema" Date: Fri, 5 Sep 2014 22:01:05 +0200 Subject: [PATCH] ARM: u-boot: work around dd issues on OSX The oflag parameter does not exist on OSX, and neither on BSD. Just use "cat" to append instead. --- src/system/boot/platform/u-boot/Jamfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/boot/platform/u-boot/Jamfile b/src/system/boot/platform/u-boot/Jamfile index 814300706c..3c39ed9f50 100644 --- a/src/system/boot/platform/u-boot/Jamfile +++ b/src/system/boot/platform/u-boot/Jamfile @@ -195,7 +195,7 @@ actions BuildUBootSDImage1 $(RM) $(1).mtools $(RM) uEnv.txt # Add haiku bootstrap partition to MMC image - dd if=$(2[0]) of=$(1) conv=notrunc oflag=append bs=1M + cat $(2[0]) >> $(1) } # uimage targets