Do not use echo -e, as FreeBSD doesn't support it.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34942 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2010-01-07 23:03:19 +00:00
parent a323ccd947
commit 08605557d3

View File

@ -145,8 +145,12 @@ rule BuildUBootSDImage image : files
SDIMAGE_BLOCK_SIZE on $(image) = 1M ;
SDIMAGE_SIZE on $(image) = $(HAIKU_BOARD_SDIMAGE_SIZE) ;
SDIMAGE_FDISK on $(image) = $(HOST_SFDISK) ;
# do not change the formatting, we need the linefeeds!
SDIMAGE_FDISK_SCRIPT on $(image) =
"0,$(HAIKU_BOARD_SDIMAGE_FAT_SIZE),0c,-\\\n,,eb\\\n\\\n" ;
"0,$(HAIKU_BOARD_SDIMAGE_FAT_SIZE),0c,-
,,eb
" ;
SDIMAGE_FDISK_H on $(image) = 255 ;
SDIMAGE_FDISK_S on $(image) = 63 ;
SDIMAGE_FDISK_UNIT on $(image) = M ;
@ -164,7 +168,7 @@ actions BuildUBootSDImage1
bs=$(SDIMAGE_BLOCK_SIZE) \
count=$(SDIMAGE_SIZE)
# partition it
echo -e '$(SDIMAGE_FDISK_SCRIPT)' | $(SDIMAGE_FDISK) -f -D \
echo '$(SDIMAGE_FDISK_SCRIPT)' | $(SDIMAGE_FDISK) -f -D \
-H $(SDIMAGE_FDISK_H) -S $(SDIMAGE_FDISK_S) \
-u$(SDIMAGE_FDISK_UNIT) $(<)
# generate mtools config