summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-06-22 23:06:56 +0000
committerDave Chapman <dave@dchapman.com>2009-06-22 23:06:56 +0000
commit28a2b4514f762131fe8b78e1db1f3e9b498a7b61 (patch)
tree105c9ab7a4a4a9b362e2f826e254d3617dcca191 /rbutil/sansapatcher
parent670ce6822975d17543106df79d29c753f837d7b8 (diff)
Add an explicit rule to compile bin2c - r21272 broke compilation of sansapatcher on at least Linux because Make's implicit rule for compiling bin2c was being used, which uses CC, which was set to i586-mingw32msvc-gcc.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21476 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher')
-rw-r--r--rbutil/sansapatcher/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/Makefile b/rbutil/sansapatcher/Makefile
index 98d3971b0e..c358211b5e 100644
--- a/rbutil/sansapatcher/Makefile
+++ b/rbutil/sansapatcher/Makefile
@@ -48,5 +48,8 @@ bootimg_c200.c: firmware.mi4 ../tools/bin2c
bootimg_e200.c: PP5022.mi4 ../tools/bin2c
../tools/bin2c PP5022.mi4 bootimg_e200
+../tools/bin2c:
+ make -C ../tools bin2c
+
clean:
rm -f sansapatcher.exe sansapatcher-mac sansapatcher-i386 sansapatcher-ppc sansapatcher bootimg_c200.c bootimg_c200.h bootimg_e200.c bootimg_e200.h *~