summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-07-11 22:50:22 +0000
committerDave Chapman <dave@dchapman.com>2009-07-11 22:50:22 +0000
commit34213c388bce18de3e5a609a3be5b4dfa075fee6 (patch)
treeb11ce6528419ab448c627e61736f9a9e0d77340a
parent47d857981a006518f34082d9a040b5146f571ca9 (diff)
downloadrockbox-34213c388bce18de3e5a609a3be5b4dfa075fee6.tar.gz
rockbox-34213c388bce18de3e5a609a3be5b4dfa075fee6.tar.bz2
rockbox-34213c388bce18de3e5a609a3be5b4dfa075fee6.zip
Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg creation rule
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21793 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/e200rpatcher/Makefile4
-rw-r--r--rbutil/sansapatcher/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/rbutil/e200rpatcher/Makefile b/rbutil/e200rpatcher/Makefile
index 8ca0b0aad0..dfe5c1e037 100644
--- a/rbutil/e200rpatcher/Makefile
+++ b/rbutil/e200rpatcher/Makefile
@@ -33,8 +33,8 @@ e200rpatcher-mac: e200rpatcher-i386 e200rpatcher-ppc
lipo -create e200rpatcher-ppc e200rpatcher-i386 -output e200rpatcher-mac
e200rpatcher.dmg: e200rpatcher-mac
- mkdir e200rpatcher-dmg
- cp e200rpatcher-mac e200rpatcher-dmg
+ mkdir -p e200rpatcher-dmg
+ cp -p e200rpatcher-mac e200rpatcher-dmg
hdiutil create -srcfolder e200rpatcher-dmg e200rpatcher.dmg
e200rpatcher-i386: e200rpatcher.c bootimg.c usb.h libusb-i386.a
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile
index 06ea7b09a5..be764c90f4 100644
--- a/rbutil/sansapatcher/Makefile
+++ b/rbutil/sansapatcher/Makefile
@@ -35,8 +35,8 @@ sansapatcher-mac: sansapatcher-i386 sansapatcher-ppc
lipo -create sansapatcher-ppc sansapatcher-i386 -output sansapatcher-mac
sansapatcher.dmg: sansapatcher-mac
- mkdir sansapatcher-dmg
- cp sansapatcher-mac sansapatcher-dmg/sansapatcher
+ mkdir -p sansapatcher-dmg
+ cp -p sansapatcher-mac sansapatcher-dmg/sansapatcher
hdiutil create -srcfolder sansapatcher-dmg sansapatcher.dmg
sansapatcher-i386: main.c sansapatcher.c sansaio-posix.c parttypes.h bootimg_c200.c bootimg_e200.c